Documentation menu

ImportType

Import types for each import object. Determines what the import resolves to, and what symbols are imported.

View source on GitHub

Attributes


DEFAULT_EXPORT


Imports all default exports. Resolves to the file.

MODULE


Imports the module, not doesn't actually allow access to any of the exports

NAMED_EXPORT


Imports a named export. Resolves to the symbol export.

SIDE_EFFECT


Imports the module, not doesn't actually allow access to any of the exports

UNKNOWN


Unknown import type.

WILDCARD


Imports all named exports, and default exports as `default`. Resolves to the file.