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

fix: options of schemas without parameters resolve to Record<string, never> #77

Merged

Conversation

mattmess1221
Copy link
Contributor

πŸ”— Linked issue

Fixes #76

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme or JSDoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

The type Record<string, never> blanks out all keys when combined with other types via &. Type composition ignores the unknown type.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

…rd<string, never>

The type `Record<string, never>` blanks out all keys when combined with other types via `&`. Type composition ignores the `unknown` type.
Copy link

netlify bot commented Jun 17, 2024

βœ… Deploy Preview for nuxt-api-party ready!

Name Link
πŸ”¨ Latest commit 3f812e9
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt-api-party/deploys/66708f58a6c7440008050504
😎 Deploy Preview https://deploy-preview-77--nuxt-api-party.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@johannschopplich
Copy link
Owner

That is a great catch! Thanks.

@johannschopplich johannschopplich merged commit a92bd9d into johannschopplich:main Jun 18, 2024
7 checks passed
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.

typescript error on openapi paths with no parameters
2 participants