Re: [sensors] Undefined values makes GS a pain to work with using TypeScript

Yes, I just read the thread, I get the point about immutability. The problem now is that there is no way to check whether all values are set or not.

And though all values will be set in the reading callback from the sensor itself, there is no way to express that in TypeScript, plus that won't work if using data from another sensor in the same callback.

-- 
GitHub Notification of comment by kenchris
Please view or discuss this issue at https://github.com/w3c/sensors/issues/269#issuecomment-330466122 using your GitHub account

Received on Tuesday, 19 September 2017 08:22:13 UTC