TypeScript Version: 3.0.0-rc
VRLayer type described in 3.0rc's lib.dom.d.ts conflicts with the one in @types/webvr-api. The latter is a devDependency for the widely used @types/three.
VRLayer in lib.dom.d.ts:
interface VRLayer {
leftBounds?: number[] | Float32Array | null;
rightBounds?: number[] | Float32Array | null;
source?: HTMLCanvasElement | null;
}
VRLayer in @types/webvr_api/index.d.ts:
interface VRLayer {
leftBounds?: number[] | null;
rightBounds?: number[] | null;
source?: HTMLCanvasElement | null;
}
Looking at the specs, including Float32Array among the piped types seems unnecessary/wrong to me.
TypeScript Version: 3.0.0-rc
VRLayertype described in 3.0rc's lib.dom.d.ts conflicts with the one in @types/webvr-api. The latter is a devDependency for the widely used @types/three.VRLayerin lib.dom.d.ts:VRLayerin @types/webvr_api/index.d.ts:Looking at the specs, including
Float32Arrayamong the piped types seems unnecessary/wrong to me.