Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Import

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

Index

Properties

Methods

Properties

Optional end

end: undefined | number

The ending character of the node in the document.

type

{number}

memberof

Node

isNew

isNew: boolean

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

type

{boolean}

memberof

Import

libraryName

libraryName: string

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

example

"express"

type

{string}

memberof

Import

Optional start

start: undefined | number

The starting character of the node in the document.

type

{number}

memberof

Node

Methods

clone

Generated using TypeDoc