FAKE - F# Make - A DSL for build tasks and more FAKE
6.1.3

Lookig for older versions of the documentation, pre FAKE v6? See 

v5.fake.build

TypeScript Module

Helpers to run the typeScript compiler.

Example


 !! "src/**/*.ts"
         |> TypeScript.compile (fun p -> { p with TimeOut = TimeSpan.MaxValue })

Types

Type Description

ECMAScript

Generated ECMAScript version

ModuleGeneration

Generated JavaScript module type

TypeScriptParams

TypeScript task parameter type

Functions and values

Function or value Description

TypeScript.TypeScriptDefaultParams

Full Usage: TypeScript.TypeScriptDefaultParams

Returns: TypeScriptParams

Default parameters for the TypeScript task

Returns: TypeScriptParams

TypeScript.compile setParams files

Full Usage: TypeScript.compile setParams files

Parameters:
    setParams : TypeScriptParams -> TypeScriptParams - Function used to overwrite the TypeScript compiler flags.
    files : seq<string> - The type script files to compile.

Run tsc --declaration src/app/index.ts

setParams : TypeScriptParams -> TypeScriptParams

Function used to overwrite the TypeScript compiler flags.

files : seq<string>

The type script files to compile.

Example


 !! "src/**/*.ts"
             |> TypeScript.compile (fun p -> { p with TimeOut = TimeSpan.MaxValue })