Skip to content

v2.0.0 Full Typescript Support

Compare
Choose a tag to compare
@chrisjpatty chrisjpatty released this 19 Mar 01:49
· 2 commits to master since this release

Crooks has been fully converted to Typescript. While nearly all hook APIs have remained the same, there is one breaking change to be aware of:

  • useKeyboardShortcut

    • keyCode is now key, and uses the KeyboardEvent.key API
    • action is now onKeyPressed
  • Merge pull request #3 from chrisjpatty/v2.0.0 09e5e7c

  • Converted library to typescript 3c8bb82

  • Incremented version number to update readme cd95e2b

  • Added tests to cover last remaining lines b749de7

  • Updated travis CI build config e0c26cd

  • Reordered badges a6275ff

  • Fixed npm badge 3d6e5e9

  • Added coveralls config edcce50

  • Added build and coverage badge d07a9cb

  • Updated gitignore 2da7b11

  • Replaced travis config c550d12

  • Added travis cli config 0e06e87

  • Replaced test script e64aaa2

v1.0.22...v2.0.0