Safe Haskell | Safe-Inferred |
---|
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
TypeScript | |
|
:: [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