Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModuleCompiler

Hierarchy

  • ModuleCompiler

Index

Constructors

constructor

  • new ModuleCompiler(moduleTokenFactory?: ModuleTokenFactory): ModuleCompiler
  • Parameters

    • Default value moduleTokenFactory: ModuleTokenFactory = new module_token_factory_1.ModuleTokenFactory()

    Returns ModuleCompiler

Properties

Private Readonly moduleTokenFactory

moduleTokenFactory: ModuleTokenFactory

Methods

compile

  • compile(metatype: any): Promise<{ dynamicMetadata: any; token: string; type: any }>
  • Parameters

    • metatype: any

    Returns Promise<{ dynamicMetadata: any; token: string; type: any }>

extractMetadata

  • extractMetadata(metatype: any): Promise<{ type: any } | { dynamicMetadata: any; type: any }>
  • Parameters

    • metatype: any

    Returns Promise<{ type: any } | { dynamicMetadata: any; type: any }>

isDynamicModule

  • isDynamicModule(module: any): boolean
  • Parameters

    • module: any

    Returns boolean

Generated using TypeDoc