ts-morph-structures

Home > ts-morph-structures > AddImportContext > isPackageImport

AddImportContext.isPackageImport property

True if this.pathToImportedModule represents a package import. False if the imported module path should be relative to the manager’s absolute path in generated code.

Signature:

isPackageImport: boolean;