🚧 Still under progress. Soon will be finished.

Import

INTERFACE code

Description

An import declaration after being serialized

Properties

Name Type Description
name string

The name of the symbol being imported.

kind ImportKind

The type of import

importPath string

The path of the import

referenceName string

If the import has been renamed using the as keyword, this will be the original name of the symbol before being renamed.

bareModuleSpecifier boolean

Whether the import is a bare module specifier

typeOnly boolean

Whether the import is type only

originalPath string

If the path of the import has been re-map through the paths property in the tsconfig.json, this will be the original path of the file.