PhoenixAssets. Generators. Typespec
(PhoenixAssets v0.1.0)
View Source
Renders named Elixir typespecs as TypeScript declarations.
The source module, declaration order, root union name, output path, and optional trailer are supplied by the host. Product type names never live in this module.
Summary
Functions
Fetches types from source_module and renders configured TypeScript.
Writes rendered types to the configured output path.
Types
Functions
Fetches types from source_module and renders configured TypeScript.
Writes rendered types to the configured output path.