Expand description
A crate for representing and creating TypeScript type definitions as values, i. e. a subset of the TypeScript abstract syntax.
Structs§
- Array
Type - An array type expression.
- Field
- A field in e.g. an interface or an object type.
- Interface
- A top-level
interface
definition. - Intersection
Type - An intersection type.
- Object
Type - An object type.
- Path
Segment - A segment of a type path.
- Type
Alias - A top-level
type
definition. Example: - Type
Path - The name of a type.
- Union
Type - A type with multiple cases.
- Variant
- A variant of a union type.
Enums§
- Builtin
Type - The built-in types.
- Definition
- A top-level type definition.
- Literal
Type - A literal type.
- Type
- Represents a type use, e. g. in an interface definition, function type definition, or type alias.