Please pardon me announcing this issue with the latest Major of TypeScript:
Error:(6474, 5) TS2717: Subsequent property declarations must have the same type. Property 'leftBounds' must be of type 'number[] | Float32Array', but here has type 'number[]'.
Error:(6475, 5) TS2717: Subsequent property declarations must have the same type. Property 'rightBounds' must be of type 'number[] | Float32Array', but here has type 'number[]'.
This issue can be fixed by extendig the Type Definition for the class VRLayer in the following way:
interface VRLayer {
leftBounds?: number[] | Float32Array | null;
rightBounds?: number[] | Float32Array | null;
source?: HTMLCanvasElement | null;
}
Keep up your great work and don't fight the feeling! ❤️ ❤️
Sincerely yours
Christopher