TsFiles class

Namespace: TypeLite

Methods

Name Description
ToModules Splits template output into several files, one per module
ToModules Splits the current TypeScriptFluent output into several files, one per module

Fields

Name Description
regex

TsFiles.ToModules method

Splits template output into several files, one per module

Syntax

Parameters

string typeScript
The current template output
string path
The path where the files should be saved.

TsFiles.ToModules method

Splits the current TypeScriptFluent output into several files, one per module

Syntax

Parameters

TypeScriptFluent typeScriptFluent
string path
The path where the files should be saved.

TsFiles.regex field

Syntax