-
-
Notifications
You must be signed in to change notification settings - Fork 282
Open
Description
Describe the bug
In Typescript projects that set "moduleResolution": "nodenext" or "moduleResolution:":"node16" in their tsconfig.json` this package cannot be imported.
Typescript reports the following error:
Property 'install' does not exist on type 'typeof import("[...]/node_modules/camera-controls/dist/index")'.ts(2339)
To Reproduce
Steps to reproduce the behavior:
- Set
"moduleResolution": "nodenext"intsconfig.json import CameraControls from 'camera-controls'- Try to call
CameraControls.install(...) - See error
Code
Live example
No response
Expected behavior
Importing should work :-)
Screenshots or Video
No response
Device
No response
OS
No response
Browser
No response
Metadata
Metadata
Assignees
Labels
No labels