ts-morph-structures

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(): ImportDeclarationImpl[];

Returns:

ImportDeclarationImpl[]