ts-morph-structures

Home > ts-morph-structures > ClassMembersMap > fromClassDeclaration

ClassMembersMap.fromClassDeclaration() method

Create a ClassMembersMap from a class declaration.

Signature:

static fromClassDeclaration(classDecl: ClassDeclarationImpl): ClassMembersMap;

Parameters

Parameter Type Description
classDecl ClassDeclarationImpl the class declaration.

Returns:

ClassMembersMap

the class members map.