Skip to content

Commit 74ede86

Browse files
committed
Fixed intentional flow error
1 parent 9288027 commit 74ede86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/NativeListener.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ const aliases = {
3131
DoubleClick: 'dblclick'
3232
}
3333

34-
const toEventName = (event): string => (aliases[event] || event).toLowerCase()
34+
const toEventName = (event: string): string =>
35+
(aliases[event] || event).toLowerCase()
3536

3637
export default class NativeListener extends Component {
3738
static displayName = 'NativeListener'

0 commit comments

Comments
 (0)