nl_tokens: Return the list of properties of the given type augmented with properties from Function if the type has call or construct signatures
pl_tokens: function getAugmentedPropertiesOfType ( type ) { type = getApparentType ( type ) ; var propsByName = createSymbolTable ( getPropertiesOfType ( type ) ) ; if ( getSignaturesOfType ( type , 0 /* Call */ ) . length || getSignaturesOfType ( type , 1 /* Construct */ ) . length ) { ts . forEach ( getPropertiesOfType ( globalFunctionType ) , function ( p ) { if ( ! <mask> . hasProperty ( propsByName , p . name ) ) { propsByName [ p . name ] = p ; } } ) ; } return getNamedMembers ( propsByName ) ; }