Module typescript_type_def::type_expr[][src]

Expand description

This module defines structs used to create static descriptions of TypeScript type definitions.

Structs

Array

A TypeScript array type.

DefinedTypeInfo

Type information describing a “defined” TypeScript type.

Docs

A documentation string.

Ident

A TypeScript identifier.

Intersection

A TypeScript intersection type.

NativeTypeInfo

Type information describing a “native” TypeScript type.

Object

A TypeScript object type.

ObjectField

A field of a TypeScript object type.

Tuple

A TypeScript tuple type.

TypeName

A TypeScript type name, analogous to a Rust path with optional generics.

TypeString

A TypeScript type-level string literal.

Union

A TypeScript union type.

Enums

TypeExpr

A TypeScript type expression.

TypeInfo

A description of the type information required to produce a TypeScript type definition.

Type Definitions

List

An alias for lists used in type expressions.