Home > ts-morph-structures > ClassMembersMap > moveMembersToClass
Move class members from this map to a class declaration, and clear this map.
Signature:
moveMembersToClass(classDecl: ClassDeclarationImpl): ClassDeclarationImpl;
Parameter | Type | Description |
---|---|---|
classDecl | ClassDeclarationImpl |
Returns:
the new class declaration.