ts-morph-structures

Home > ts-morph-structures > MemberedTypeToClass > importFromMemberedType

MemberedTypeToClass.importFromMemberedType() method

Define class members for a membered object type or interface.

Signature:

importFromMemberedType(isStatic: boolean, membered: InterfaceDeclarationImpl | MemberedObjectTypeStructureImpl): void;

Parameters

Parameter Type Description
isStatic boolean true if the class members are static.
membered InterfaceDeclarationImpl | MemberedObjectTypeStructureImpl the interface or membered object type.

Returns:

void