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
When using some methods that we get for some hooks, the typing is incorrect. Either there is a property missing so it has to be extended or some argument types are incorrect so the TS errors has to be ignored. More specifically
the blur method on useKeyboard says it has 0 arguments when it actually has 1
useSelections is missing methods on and removeListener. Not sure if this is intentional, guessing they are inherited somehow
useTranslator is missing method language
useTheme is missing name
Steps to Reproduce
Use any of the mentioned hooks
Try to call any of the mentioned methods
Expected behavior
All methods on a hook should be typed correctly
Actual behavior
For keyboard hook you get this
Versions
nebula.js: 3.0.0-alpha11
Platform: N/A
Browser: N/A
Additional context
(Add any other context, link to demo or screenshots about the issue.)
The text was updated successfully, but these errors were encountered:
🐛 Bug report
When using some methods that we get for some hooks, the typing is incorrect. Either there is a property missing so it has to be extended or some argument types are incorrect so the TS errors has to be ignored. More specifically
blur
method onuseKeyboard
says it has 0 arguments when it actually has 1useSelections
is missing methodson
andremoveListener
. Not sure if this is intentional, guessing they are inherited somehowuseTranslator
is missing methodlanguage
useTheme
is missingname
Steps to Reproduce
Expected behavior
All methods on a hook should be typed correctly
Actual behavior
For keyboard hook you get this
Versions
Additional context
(Add any other context, link to demo or screenshots about the issue.)
The text was updated successfully, but these errors were encountered: