Expand description
TypeScript language exporter.
Modules§
Structs§
- Comment
Formatter Args - Export
Path - Represents the path of an error in the export tree.
This is designed to be opaque, meaning it’s internal format and
Display
impl are subject to change at will. - Typescript
- Typescript language exporter.
Enums§
- BigInt
Export Behavior - Allows you to configure how Specta’s Typescript exporter will deal with BigInt types (i64, i128 etc).
- Export
Error - The error type for the TypeScript exporter.
- Named
Location - Describes where an error occurred.
Functions§
- datatype
- Convert a DataType to a TypeScript string
- export
- Convert a type which implements
Type
to a TypeScript string with an export. - export_
named_ datatype - Convert a DataType to a TypeScript string
- export_
ref - Convert a type which implements
Type
to a TypeScript string with an export. - inline
- Convert a type which implements
Type
to a TypeScript string. - inline_
ref - Convert a type which implements
Type
to a TypeScript string.
Type Aliases§
- Comment
Formatter Fn - The signature for a function responsible for exporting Typescript comments.
- Formatter
Fn - The signature for a function responsible for formatter a Typescript file.
- Result