Options
All
  • Public
  • Public/Protected
  • All
Menu

The elements that are actually imported. The left side of the import.

Hierarchy

  • ImportElement

Index

Properties

isDefault: boolean

If the import used the default export. Either directly or by renaming.

isFunctionOrObject: boolean

By inspecting the name, this tries to check if the import is a function or an object. They usually start with a lowercase letter.

isRenamed: boolean

If the import used the "as" statement to rename the import.

isType: boolean

By inspecting the name, this tries to check if the import is a type. So it can be a Type, Class, Enum or Interface. They usually start with a uppercase letter.

isWildcard: boolean

If the wildcard was used to import elements.

name: string

The name of the imported element.

originalName?: string

If isRenamed is true, this will display the original name.

Generated using TypeDoc