Skip to content

Commit

Permalink
fix exports
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertWHurst committed Nov 8, 2023
1 parent 57bc651 commit a4f33a0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
26 changes: 23 additions & 3 deletions packages/keystrokes/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,31 @@
/// <reference types="vite/client" />

export type { KeyEvent, HandlerFn, HandlerObj, Handler } from './handler-state'
export type { KeyComboEvent } from './key-combo-state'
export type {
export {
BrowserKeyEventProps,
BrowserKeyComboEventProps,
MaybeBrowserKeyComboEventProps,
browserOnActiveBinder,
browserOnInactiveBinder,
browserOnKeyPressedBinder,
browserOnKeyReleasedBinder,
} from './browser-bindings'
export {
KeyEvent,
HandlerFn,
HandlerObj,
Handler,
HandlerState,
} from './handler-state'
export { KeyComboEvent, KeyComboState } from './key-combo-state'
export {
defaultSequenceTimeout,
OnActiveEventBinder,
OnKeyEventBinder,
KeyComboEventMapper,
KeyPress,
KeystrokesOptions,
BindEnvironmentOptions,
Keystrokes,
} from './keystrokes'

import {
Expand Down
1 change: 0 additions & 1 deletion packages/keystrokes/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"moduleResolution": "Node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"isolatedModules": true,
"outDir": "./dist"
},
"include": ["./src"],
Expand Down

0 comments on commit a4f33a0

Please sign in to comment.