Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AliasedImport

Basic interface for aliased imports. Defines an alias for namespace imports and other aliased imports.

export
interface

AliasedImport

extends

{Import}

Hierarchy

Implemented by

Index

Properties

Methods

Properties

alias

alias: string

Alias for the given import. E.g. for a "* as ..." import.

type

{string}

memberof

AliasedImport

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