typedoc-plugin-zod
Version:
TypeDoc plugin which replaces z.infer<typeof x> with the inferred type
23 lines (15 loc) • 429 B
Markdown
# typedoc-plugin-zod
Improves display of types created with [Zod](https://github.com/colinhacks/zod)'s `z.infer` and `z.input` types.
## Usage
```bash
npm install --save-dev typedoc-plugin-zod
```
```jsonc
// typedoc.json
{
"plugin": ["typedoc-plugin-zod"]
}
```
See [an example](https://gerritbirkeland.com/typedoc-plugin-zod/types/Abc.html) of this plugin in action.
## Change Log
See [CHANGELOG.md](./CHANGELOG.md)