-
I'm using this project with typescript and it requires to add types to But as you can see, camera |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
const ref = use ref<THREE.PerspectiveCamera>(null!) Mind the ! in the end |
Beta Was this translation helpful? Give feedback.
const ref = use ref<THREE.PerspectiveCamera>(null!)
Mind the ! in the end