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:
/// <reference types="three" />
declare namespace THREE {
export interface Object3D {
addBehaviour (klass: any): any;
getEntity (): any;
}
}
Usage:

Anyone has experience augmenting THREE definitions on TypeScript?
Cheers!
