Module typescript

Module typescript 

Source

Structs§

TypeScriptCompiler
Main TypeScript compiler for stream specs
TypeScriptConfig
Configuration for TypeScript generation
TypeScriptOutput
Output structure for TypeScript generation

Traits§

TypeScriptGenerator
Trait for generating TypeScript code from AST components
TypeScriptInterfaceGenerator
Trait for generating TypeScript interfaces
TypeScriptTypeMapper
Trait for generating TypeScript type mappings

Functions§

compile_serializable_spec
Generate TypeScript from a SerializableStreamSpec (for CLI use) This allows the CLI to compile TypeScript without needing the typed spec
generate_typescript_from_spec_fn
CLI-friendly function to generate TypeScript from a spec function This will be used by the CLI tool to generate TypeScript from discovered specs
write_typescript_to_file
Write TypeScript output to a file