Skip to content

Commit

Permalink
Merge pull request #1048 from LuanScudeler/feature/add-type-exports
Browse files Browse the repository at this point in the history
Add more type exports to index.ts
  • Loading branch information
JohannesKlauss authored Jul 3, 2023
2 parents 5940252 + dcdb869 commit bd20651
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
import useHotkeys from './useHotkeys'
import type { Options } from './types'
import type { Options, Keys, HotkeyCallback } from './types'
import { HotkeysProvider, useHotkeysContext } from './HotkeysProvider'
import { isHotkeyPressed } from './isHotkeyPressed'
import useRecordHotkeys from './useRecordHotkeys'

export { useHotkeys, useRecordHotkeys, useHotkeysContext, isHotkeyPressed, HotkeysProvider, Options }
export {
useHotkeys,
useRecordHotkeys,
useHotkeysContext,
isHotkeyPressed,
HotkeysProvider,
Options,
Keys,
HotkeyCallback,
}

1 comment on commit bd20651

@vercel
Copy link

@vercel vercel bot commented on bd20651 Jul 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.