Skip to content

Commit 228e91f

Browse files
RoystonSKent C. Dodds
authored andcommitted
fix(TS): add focusin/focusout typings (#183)
**What**: Add typings for the new focusin/focusout events **Why**: Enables the new API to be used from TypeScript **Checklist**: - [ ] Documentation N/A - [ ] Tests N/A - [x] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? --> - [x] Added myself to contributors table <!-- this is optional, see the contributing guidelines for instructions -->
1 parent 5f7376f commit 228e91f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

typings/events.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ export type EventType =
1010
| 'keyUp'
1111
| 'focus'
1212
| 'blur'
13+
| 'focusIn'
14+
| 'focusOut'
1315
| 'change'
1416
| 'input'
1517
| 'invalid'

0 commit comments

Comments
 (0)