Skip to content

Default values in jsdoc #77

@alvesvaren

Description

@alvesvaren

I would like the output to include default types, such as when you have a schema like this:

z.object({
  thing: z.string().default("hello");
})
// => 
type Schema = {
  /** @default "hello" */
  thing: string;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions