Quantcast
Channel: Bugs Latest Topics
Viewing all articles
Browse latest Browse all 760

TypeScript 3.0.1 Compiler Issue

$
0
0

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! :D ❤️ ❤️

Sincerely yours
Christopher 


Viewing all articles
Browse latest Browse all 760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>