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

IMO we could 1) introduce smth like `Sensor.hasReading` and then make all properties return `0`  in initial state or 2) reconsider having a `SensorReading` interface - it would be even more convenient.
wdyt? 

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

Received on Monday, 18 September 2017 10:27:00 UTC