RobertWHurst / Keystrokes

Keystrokes as an easy to use library for binding functions to keys and key combos. It can be used with any TypeScript or JavaScript project, even in non-browser environments.
MIT License
158 stars 6 forks source link

Unable to import Keystrokes class #28

Closed DarkLight1337 closed 1 year ago

DarkLight1337 commented 1 year ago

Describe the bug

The Keystrokes class is no longer exported in the index.ts file, preventing the creation of custom instances.

Additional context

I assume this was unintentional since it's still being referenced in the docs.

RobertWHurst commented 1 year ago

Thanks for reporting this. I went through and reviewed the exports. Pretty much everything that could be useful should be exported now as of v1.3.1. Sorry for the inconvenience.