Expand description
Registration types for TypeScript codegen macros.
These live outside the gated codegen module so the macros work on all platforms.
The actual codegen functions that consume these registrations remain in codegen/mod.rs.
Structs§
- TsConst
Registration - Registration for a Rust constant to be exported as a TypeScript constant.
- TsExport
Registration - Registration for ts-rs type exports.
Allows types with
#[derive(TS)]to be exported without running cargo test.
Enums§
- TsConst
Value - Value types for TypeScript constant generation.