README
@shanzhai/compile-type-script-step

A Shanzhai step which compiles parsed TypeScript to Javascript.
Usage
This step is unlikely to have any use other than combining the output of ParseTypeScriptStep.
Within a trigger's event handler, return an instance of CompileTypeScriptStep
similar to the following:
new CompileTypeScriptStep(
new ConstantInput({
keyA: aParsedTypeScriptFile,
keyB: anotherParsedTypeScriptFile,
}),
new ConstantInput(aSetOfTypeScriptCompilerOptions),
new OutputForCompiledJavascript(),
);
This will compile all of the input parsed TypeScript files into a single Javascript file and output it.
Dependencies
This package has the following runtime dependencies:
Name | Version |
---|---|
typescript |
Peer Dependencies
This package has no runtime peer dependencies (it does not expect any other packages to be installed alongside itself).