typedoc-plugin-zod
v1.2.1
Published
TypeDoc plugin which replaces z.infer<typeof x> with the inferred type
Downloads
75,950
Readme
typedoc-plugin-zod
Improves display of types created with Zod's z.infer
and z.input
types.
Usage
npm install --save-dev typedoc-plugin-zod
// typedoc.json
{
"plugin": ["typedoc-plugin-zod"],
}
See an example of this plugin in action.
Change Log
v1.2.1 (2024-08-18)
- Fix warnings about referenced but not present reflections in packages mode, #6.
- Copy comments from schema object declaration to type alias, #7.
v1.2.0 (2024-06-22)
- Support TypeDoc 0.26.
v1.1.2 (2024-01-06)
- Added support for the
z.input
type, #3.
v1.1.1 (2023-12-26)
- Fixed conversion of symbols where the same name is used for a type and variable, #2.
v1.1.0 (2023-08-25)
- Add support for TypeDoc 0.25.x
v1.0.2
- Update peer dependency to allow TypeDoc 0.24
v1.0.1
- Add GitHub links to NPM package