ts-morph-structures

Home > ts-morph-structures > FunctionTypeStructureImpl

FunctionTypeStructureImpl class

(“new” | “get” | “set” | “”) name(parameters, ...restParameter) ("=>" \| ":" ) returnType

Signature:

export default class FunctionTypeStructureImpl extends TypeStructuresWithTypeParameters<TypeStructureKind.Function> 

Extends: TypeStructuresWithTypeParameters<TypeStructureKind.Function>

Constructors

Constructor Modifiers Description
(constructor)(context)   Constructs a new instance of the FunctionTypeStructureImpl class

Properties

Property Modifiers Type Description
isConstructor   boolean  
kind readonly TypeStructureKind.Function  
name   string  
parameters   ParameterTypeStructureImpl[]  
restParameter   ParameterTypeStructureImpl | undefined  
returnType   TypeStructures | undefined  
typeParameters   TypeParameterDeclarationImpl[]  
writerFunction   WriterFunction  
writerStyle   FunctionWriterStyle  

Methods

Method Modifiers Description
clone(other) static