Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

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.