You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for jsdoc comments in the genInterface function to improve documentation of generated ts interfaces
console.log(genInterface('User',{id: {type: 'string',jsdoc: 'Unique identifier for the user',},email: {type: 'string',jsdoc: {description: 'User email address',example: 'user@example.com',},},password: 'string',},{jsdoc: {description: 'Represents a user in the system',since: '1.0.0',},},))
Output
/** * Represents a user in the system * @since 1.0.0 */interfaceUser{/** Unique identifier for the user */id: string;/** * User email address * @example user@example.com */email: string;password: string;}
Additional information
Would you be willing to help implement this feature?
The text was updated successfully, but these errors were encountered:
Describe the feature
Add support for jsdoc comments in the
genInterface
function to improve documentation of generated ts interfacesOutput
Additional information
The text was updated successfully, but these errors were encountered: