We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
window.Event
1 parent 171c0cd commit 2d60e37Copy full SHA for 2d60e37
packages/formdata-event/ts_src/environment/event.ts
@@ -9,6 +9,9 @@
9
* additional IP rights grant found at http://polymer.github.io/PATENTS.txt
10
*/
11
12
+// Without this explicit type, TS seems to think that `window.Event` is the
13
+// wrapper from `wrappers/event.ts` at this point, which is typed in terms of
14
+// this binding, causing a cycle in its type.
15
export const constructor: typeof Event = window.Event;
16
17
export const prototype = constructor.prototype;
0 commit comments