rdkcentral / Lightning-SDK

SDK for Lightning framework
Apache License 2.0
130 stars 69 forks source link

Application: Add missing "default default" for precision #374

Closed frank-weindel closed 1 year ago

frank-weindel commented 1 year ago

This fixes a bug introduced by #368 where it was incorrectly assumed that precision was guaranteed to be set with a default in all cases. But apparently it was only specific cases.

frank-weindel commented 1 year ago

BTW I'd be a bad TypeScript enthusiast if I didn't file this one under: "bugs you wouldn't have to worry about if this was all written in TypeScript" 😄