Crate camo_typescript
source ·Expand description
A crate for representing and creating TypeScript type definitions as values, i. e. a subset of the TypeScript abstract syntax.
Structs
- An array type expression.
- A field in e.g. an interface or an object type.
- A top-level
interface
definition. - An intersection type.
- An object type.
- A segment of a type path.
- A top-level
type
definition. Example: - The name of a type.
- A type with multiple cases.
- A variant of a union type.
Enums
- The built-in types.
- A top-level type definition.
- A literal type.
- Represents a type use, e. g. in an interface definition, function type definition, or type alias.