Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "transpiler/parser"

Index

Functions

Object literals

Functions

parse

  • parse(sourceFiles: string[], config?: CompilerOptions): Program
  • Parameters

    • sourceFiles: string[]
    • Default value config: CompilerOptions = TSCONFIG

    Returns Program

Object literals

Const TSCONFIG

TSCONFIG: object

allowJs

allowJs: boolean = true

allowUnreachableCode

allowUnreachableCode: boolean = true

allowUnusedLabels

allowUnusedLabels: boolean = true

checkJs

checkJs: boolean = false

experimentalDecorators

experimentalDecorators: boolean = true

extendedDiagnostics

extendedDiagnostics: boolean = false

jsx

jsx: JsxEmit = ts.JsxEmit.React

module

module: ModuleKind = ts.ModuleKind.CommonJS

moduleResolution

moduleResolution: ModuleResolutionKind = ts.ModuleResolutionKind.NodeJs

noEmitOnError

noEmitOnError: boolean = false

noUnusedLocals

noUnusedLocals: boolean = true

noUnusedParameters

noUnusedParameters: boolean = true

outDir

outDir: string = "build"

skipLibCheck

skipLibCheck: boolean = true

stripInternal

stripInternal: boolean = true

target

target: ScriptTarget = ts.ScriptTarget.ES2016

traceResolution

traceResolution: boolean = false

Generated using TypeDoc