joystick icon indicating copy to clipboard operation
joystick copied to clipboard

Replace internal type checks in @joystick.js/node with Node built in util.types checkers.

Open rglover opened this issue 3 years ago • 1 comments

Just stumbled across this, had no idea this was a thing: https://nodejs.org/api/util.html#utiltypes.

Rip out our built-in type checks (they work but add unnecessary weight) and swap with this if there are no obvious issues.

rglover avatar Dec 12 '22 16:12 rglover

There are some things missing in the node types, so this will require a hybrid approach.

rglover avatar Aug 09 '23 04:08 rglover

Just decided to stick to a simple type-checker function in the app.

rglover avatar Jul 24 '24 18:07 rglover