Home > ts-morph-structures > ImportManager > getDeclarations
Get the import declarations, sorted by path to file, then internally by specified import values.
Signature:
getDeclarations(separateTypeOnlyDeclarations?: boolean): ImportDeclarationImpl[];
| Parameter | Type | Description |
|---|---|---|
| separateTypeOnlyDeclarations | boolean | (Optional) |
Returns: