Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

TypeScriptParams

TypeScript task parameter type

Record Fields

Record FieldDescription
ECMAScript
Signature: ECMAScript

Specifies which ECMAScript version the TypeScript compiler should generate. Default is ES3.

EmitComments
Signature: bool

Specifies if the TypeScript compiler should generate comments. Default is false.

EmitDeclarations
Signature: bool

Specifies if the TypeScript compiler should generate declarations. Default is false.

EmitSourceMaps
Signature: bool

Specifies if the TypeScript compiler should emit source maps. Default is false.

ModuleGeneration
Signature: ModuleGeneration

Specifies which JavaScript module type the TypeScript compiler should generate. Default is CommonJs.

NoLib
Signature: bool

Specifies if the TypeScript compiler should not use libs. Default is false.

OutputPath
Signature: string

Specifies the TypeScript compiler output path.

OutputSingleFile
Signature: string option

Specifies if the TypeScript compiler should generate a single output file and its filename.

RemoveComments
Signature: bool

Specifies if the TypeScript compiler should remove comments. Default is false.

TimeOut
Signature: TimeSpan

Specifies the timeout for the TypeScript compiler.

ToolPath
Signature: string

Specifies the TypeScript compiler path.