mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-05 20:02:05 +08:00
Merge pull request #24329 from equinox2k/master
declare so you can now do the required 'new VRFrameData()'
This commit is contained in:
5
types/webvr-api/index.d.ts
vendored
5
types/webvr-api/index.d.ts
vendored
@@ -162,6 +162,11 @@ interface VRFrameData {
|
||||
readonly timestamp: number;
|
||||
}
|
||||
|
||||
declare var VRFrameData: {
|
||||
prototype: VRFrameData
|
||||
new(): VRFrameData
|
||||
}
|
||||
|
||||
interface VRPose {
|
||||
readonly angularAcceleration: Float32Array | null;
|
||||
readonly angularVelocity: Float32Array | null;
|
||||
|
||||
Reference in New Issue
Block a user