es-membrane

Home > ts-morph-structures > ImportManager > getDeclarations

ImportManager.getDeclarations() method

Get the import declarations, sorted by path to file, then internally by specified import values.

Signature:

getDeclarations(separateTypeOnlyDeclarations?: boolean): ImportDeclarationImpl[];

Parameters

Parameter Type Description
separateTypeOnlyDeclarations boolean (Optional)

Returns:

ImportDeclarationImpl[]