Basic import interface. Defines an import in a document. If no start and end points are given, the import is considered "new".

Export

Interface

Import

Hierarchy

Implemented by

Properties

Methods

Properties

end?: number

The ending character of the node in the document.

Memberof

Node

isNew: boolean

Indicates if the given import is "new" or a parsed one.

Memberof

Import

libraryName: string

The library name of the given import (This actually is the part after the import statement).

Example

"express"

Memberof

Import

start?: number

The starting character of the node in the document.

Memberof

Node

Methods

Generated using TypeDoc