You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./node_modules/ecctrl/src/EcctrlJoystick.tsx:22:11
Type error: Type 'HTMLDivElement | null' is not assignable to type 'HTMLDivElement'.
Type 'null' is not assignable to type 'HTMLDivElement'.
Would it make sense to refactor ecctrl to not require changing the tsconfig? It's inconvenient for downstream library users to be required change their TS config to a less recommended setting.
Would it make sense to refactor ecctrl to not require changing the tsconfig? It's inconvenient for downstream library users to be required change their TS config to a less recommended setting.
I agree, this pack was not initially built in TS, those parts are still in progress
Checking validity of types ..Failed to compile.
./node_modules/ecctrl/src/EcctrlJoystick.tsx:22:11
Type error: Type 'HTMLDivElement | null' is not assignable to type 'HTMLDivElement'.
Type 'null' is not assignable to type 'HTMLDivElement'.
20 |
21 | const [windowSize, setWindowSize] = useState({ innerHeight, innerWidth })
The text was updated successfully, but these errors were encountered: