-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Typescript Error with Geometry props #3504
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
Comments
Is it typescript or eslint error in your case?
|
I'm facing the same problem with ESLint error "Unknown property 'args' found". I tried changing: <boxGeometry args={[1, 1, 1]} /> to: <boxGeometry primitive={[1, 1, 1]} /> But the problem persists. The suggested solution is to add the following ESLint rule to "react/no-unknown-property": ["error", {
ignore: ["args", "intensity", "position", "rotation", "scale"]
}] Is there a better solution for this problem? |
Hello, to help out I need to know a little more info.
|
I didn't get the TS error. But I got the same eslint error. ERROR(ESLint) Unknown property 'map' found (react/no-unknown-property)
|
👋 hi there, for issues that aren't that pressing, that could be related to threejs etc, please consider github discussions.
TypeScript Error with boxGeometry props
I'm getting TypeScript errors when trying to use
boxGeometry
component:Error:
Using React Native with Expo and TypeScript.
Package versions:
Could you please help with the correct type definitions for the boxGeometry component?
can you help me??
The text was updated successfully, but these errors were encountered: