ecctrl
ecctrl copied to clipboard
Fix EcctrlJoystick when "strictNullChecks": true on tsconfig
Thanks for your help, @cyango ! However, setting strictNullChecks to true would cause more ts bugs in the majority of Ecctrl. This package wasn't initially designed for TypeScript. I'll need more time to review and fix all the issues.
Oh ok, let me know then. Meanwhile i keep using version 1.077
@cyango I had the same issue, and used your code in a forked example of this repo, but also had to add:
@types/draco3d
debounce
@types/eslint
@types/estree
@types/json-schema
@types/json5
@types/offscreencanvas
@types/parse-json
@types/prop-types
@types/react-reconciler
@types/webxr
@types/ws
to my own repo