- Use Prettier for formatting
- Use composite TypeScript projects
- Use generics in custom AST and resolve them for outputs that don’t support generics
- Add tests
- Export AST types
- Export single renderers
- JSON Schema renderer option to control unresolvedProperties/additionalProperties
- Tests
The Markdown generation may still be improved.
JSON Schema does not have the concept of generics, but by having default types for
type paramaters, the type may be used without providing type arguments, which
makes it possible to generate an output for it.