ts-morphにおける関数に関するNodeの継承関係
ts-morph@23.0.0時点の github:dsherret/ts-morph/packages/ts-morph/lib/ts-morph.d.tsを基に、ts-morphにおける関数に関するDeclarationの継承関係をまとめました。
凡例
TP: TypeParameteredNodeを継承している。
NMD: NamedNodeを継承している。
NMB: NamableNodeを継承している。
ParameteredNode, ReturnTypedNode
SignaturedDeclaration
ConstructorDeclarationOverload TP
MethodSignature TP / NMD
MethodDeclarationOverload NMD
FunctionDeclarationOverload TP
FunctionExpression TP / NMB
FunctionLikeDeclaration TP
ConstructorDeclaration TP
GetAccessorDeclaration TP / NMD
MethodDeclaration TP / NMD
SetAccessorDeclaration TP / NMD
ArrowFunction TP
FunctionDeclaration TP / NMB
CallSignatureDeclaration TP
ConstructSignatureDeclaration TP