You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sidroopdaska I've found some TypeScript open issues about this. Unfortunately, it's not possible to do this currently because of the way the type definitions are written for three.js.
Hello there,
I'm having troubles augmenting definitions for the
"three"
module.I'd like to add methods and attributes on
THREE.Object3D
. I've tried many variations of the following example, but none of them seem to work:augment.d.ts:
Usage:
Anyone has experience augmenting THREE definitions on TypeScript?
Cheers!
The text was updated successfully, but these errors were encountered: