| Safe Haskell | Safe-Inferred |
|---|
TypeScript.Bindings
Description
A simple TypeScript library.
- data TypeScript = TypeScript {}
- typeScriptCompile :: [FilePath] -> Maybe FilePath -> TypeScript -> IO ExitCode
- typeScriptVersion :: TypeScript -> IO String
- typeScriptPrint :: FilePath -> TypeScript -> IO String
Documentation
data TypeScript Source
The TypeScript data structure
Constructors
| TypeScript | |
Fields
| |
Instances
Arguments
| :: [FilePath] | List of .ts files to compile |
| -> Maybe FilePath | Output directory, Nothing for default |
| -> TypeScript | TypeScript structure for more options |
| -> IO ExitCode | Exit code |
Compile .ts file(s)
typeScriptVersion :: TypeScript -> IO StringSource
Get the version of the typescript binary
typeScriptPrint :: FilePath -> TypeScript -> IO StringSource
Print the TypeScript output