mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
the code authored in 52ee737276
(probably)
worked in the browser due to string to numeric type autoconversion but
didn't typecheck during container build.
namely, Object.keys(this.activeKeys) will always return a string[];
however, we need number[] for the sendData() call to typecheck.
this replaces the untyped object holding active keys with a Set<number>,
which is more expressive anyway.