Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JsDocs in anonymous types #868

Merged
merged 2 commits into from
Nov 5, 2024
Merged

JsDocs in anonymous types #868

merged 2 commits into from
Nov 5, 2024

Conversation

vitoUwu
Copy link
Contributor

@vitoUwu vitoUwu commented Nov 5, 2024

With this PR, anonymous type definitions with jsdocs like this will work

interface WithAnonTypes {
  /**
   * @title Cards
   */
  items: {
    title: string;
    /**
     * @format rich-text
     */
    description: string;
    buttons: Array<{
      label: string;
      /**
       * @format url
       */
      url: string;
      position: "left" | "right" | "center";
    }>;
  }[];
}

@vitoUwu vitoUwu requested a review from mcandeia November 5, 2024 16:22
Copy link
Contributor

github-actions bot commented Nov 5, 2024

Tagging Options

Should a new tag be published when this PR is merged?

  • 👍 for Patch 1.106.5 update
  • 🎉 for Minor 1.107.0 update
  • 🚀 for Major 2.0.0 update

@mcandeia mcandeia merged commit a79c311 into main Nov 5, 2024
2 checks passed
@mcandeia mcandeia deleted the fix-anon-types-jsdoc branch November 5, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants