Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NamedImport

Basic typescript import (ES6 style). Does contain multiple symbols of a file and converts itself to a multiline import if the threshold is reached. Can also contain a default import part. (i.e. import {Foobar} from ...).

export
class

NamedImport

implements

{Import}

Hierarchy

  • NamedImport

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new NamedImport(libraryName: string, start?: undefined | number, end?: undefined | number): NamedImport

Properties

Optional defaultAlias

defaultAlias: undefined | string

Optional end

end: undefined | number

libraryName

libraryName: string

specifiers

specifiers: SymbolSpecifier[] = []

Optional start

start: undefined | number

Accessors

isNew

  • get isNew(): boolean

Methods

clone

Generated using TypeDoc