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(types): fix React typings, fault tolerant Node type #3362

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

lukaselmer
Copy link
Contributor

Fixes #3361 by making the Node type fault tolarant: if the three object does not exist (and the type ends up as being any), the Node type will catch this and reduce the any type to {}

Copy link

codesandbox-ci bot commented Sep 22, 2024

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 22e604d:

Sandbox Source
example Configuration

@CodyJasonBennett
Copy link
Member

Great work. This fixes the same issues reported in Drei pmndrs/drei#823 pmndrs/drei#1193.

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.

react-three-fiber typings break React typings
2 participants