Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "transpiler/compiler"

Index

Variables

Const DEFAULT_COMPILER_CONFIG

DEFAULT_COMPILER_CONFIG: Readonly<CompilerConfig> = Object.freeze({transformConfig: DEFAULT_TRANSFORM_CONFIG})

Let writeFile

writeFile: __promisify__ = promisify(fs.writeFile)

Functions

compile

programFiles

  • programFiles(program: Program): string[]

snapFor

  • snapFor(path: string, files: ReadonlyArray<SourceFile>): IScriptSnapshot | undefined
  • Parameters

    • path: string
    • files: ReadonlyArray<SourceFile>

    Returns IScriptSnapshot | undefined

writeFileCallback

  • writeFileCallback(fileName: string, data: string, writeByteOrderMark: boolean, onError: function | undefined, sourceFiles?: ReadonlyArray<SourceFile>): Promise<void>
  • Parameters

    • fileName: string
    • data: string
    • writeByteOrderMark: boolean
    • onError: function | undefined
    • Optional sourceFiles: ReadonlyArray<SourceFile>

    Returns Promise<void>

Generated using TypeDoc