Skip to main content

Module primitives

Module primitives 

Source
Expand description

Primitives provide building blocks for Specta-based libraries.

These are for advanced usecases, you should generally use [Typescript] or [JSDoc] in end-user applications.

Functionsยง

export
Generate a group of export Type = ... Typescript string for a specific NamedDataType.
inline
Generate an inlined Typescript string for a specific DataType.
reference
Generate an Typescript string to refer to a specific DataType.