-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Currently, tsDocGen.js generates a JSON representation of TypeScript/TSX component declarations, extracting prop types, interfaces, and metadata. It would be valuable to support an alternate output mode that generates Zod schema representations of the same props/types/interfaces.
AI-assisted tools such as Cursor often generate or modify code dynamically, which can introduce type mismatches or invalid prop values that TS alone won’t catch at runtime. Zod schemas enable runtime validation of data and props, so AI-generated or user-supplied values are thoroughly checked before being passed to components. This provides immediate feedback during development such that PatternFly components can be correctly implemented within AI-assisted workflows.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status