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(Outlines): Mark all Outlines props as optional #1758

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

le-michael
Copy link
Contributor

Why

Currently some Outlines props are marked as required even though they have default values. This results in the LSP complaining when these props are not set by the user. Since these values have a default value we shouldn't make them required.

What

This change marks all props optional so that users don't have to declare them if they want to use the default values.

Checklist

  • Ready to be merged

Copy link

vercel bot commented Dec 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drei ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2023 3:08am

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit b66eb34:

Sandbox Source
tender-chandrasekhar-85zrq4 Configuration
Ground reflections and video textures Configuration
arc-x-pmndrs-colors Configuration

@le-michael le-michael changed the title Mark all Outlines props as optional fix(Outlines): Mark all Outlines props as optional Dec 19, 2023
@CodyJasonBennett CodyJasonBennett merged commit cc8ea56 into pmndrs:master Dec 19, 2023
4 checks passed
Copy link

🎉 This PR is included in version 9.92.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants