mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-17 17:48:06 +00:00
* Fix webxr types for TS 5.0 beta The types that webxr shims are now the precise literals instead of `number`. The new code won't succeed until tomorrow. See microsoft/TypeScript#52328 * Update minimum TS version for three * Update minimum TS version of other dependents * Remove OVR_multiview2 instead of updating it then bump required TS version to 4.4 not 5.0
17 lines
581 B
TypeScript
17 lines
581 B
TypeScript
// Type definitions for drag-controls 1.0
|
|
// Project: https://github.com/jbyte/three-dragcontrols#readme
|
|
// Definitions by: Matt Hawes <https://github.com/MGHawes>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// Minimum TypeScript Version: 4.4
|
|
|
|
import * as THREE from 'three';
|
|
|
|
declare class DragControls extends THREE.EventDispatcher {
|
|
static install(library: { THREE: typeof THREE }): void;
|
|
|
|
constructor(objects: ReadonlyArray<THREE.Object3D>, camera: THREE.Camera, domElement: HTMLCanvasElement);
|
|
deactivate(): void;
|
|
}
|
|
|
|
export = DragControls;
|