Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Module

TypeScript resource. Declaration of a typescript module (i.e. declare module "foobar").

export
class

Module

implements

{Resource}

implements

{Node}

Hierarchy

  • Module

Implements

Index

Constructors

constructor

  • new Module(name: string, start: number, end: number): Module

Properties

declarations

declarations: Declaration[] = []

end

end: number

exports

exports: Export[] = []

imports

imports: Import[] = []

name

name: string

resources

resources: Resource[] = []

start

start: number

usages

usages: string[] = []

Accessors

identifier

  • get identifier(): string

nonLocalUsages

  • get nonLocalUsages(): string[]

Methods

getNamespaceAlias

  • getNamespaceAlias(): string
  • Function that calculates the alias name of a namespace. Removes all underlines and dashes and camelcases the name.

    memberof

    Module

    Returns string

Generated using TypeDoc