Skip to content

Commit 772bd5c

Browse files
fix: allow returnValue to be any type for electron events
1 parent ba4342b commit 772bd5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/base_header.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
/// <reference types="node" />
77

8-
type GlobalEvent = Event;
8+
type GlobalEvent = Event & { returnValue: any };

0 commit comments

Comments
 (0)