Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: migrate src/Input to typescript #5710

Merged
merged 3 commits into from Apr 22, 2020
Merged

chore: migrate src/Input to typescript #5710

merged 3 commits into from Apr 22, 2020

Conversation

jackfranklin
Copy link
Collaborator

This moves Keyboard, Mouse and Touchscreen to TypeScript. We gain
some nice TS benefits here; by creating a type for all the keycodes we
support we can type the input args as that rather than string which
will hopefully save some users some debugging once we ship our TS types
in a future version.

This moves `Keyboard`, `Mouse` and `Touchscreen` to TypeScript. We gain
some nice TS benefits here; by creating a type for all the keycodes we
support we can type the input args as that rather than `string` which
will hopefully save some users some debugging once we ship our TS types
in a future version.
@jackfranklin jackfranklin added this to the TypeScript migration milestone Apr 22, 2020
Co-Authored-By: Mathias Bynens <mathias@qiwi.be>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants