You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Revert "Restore FileReaderProgressEvent (#704)"
This reverts commit 17d343a.
* Parameterize ProgressEvent
* use generic for existing types
* emit parameterized ProgressEvent
* use existing `type-parameters` field
* ensure attributeless events get type param in the future
/** Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read. */
/** Focus-related events like focus, blur, focusin, or focusout. */
5584
5578
interface FocusEvent extends UIEvent {
5585
5579
readonly relatedTarget: EventTarget | null;
@@ -11929,9 +11923,10 @@ declare var ProcessingInstruction: {
11929
11923
};
11930
11924
11931
11925
/** Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an <img>, <audio>, <video>, <style> or <link>). */
Copy file name to clipboardExpand all lines: baselines/webworker.generated.d.ts
+21-24Lines changed: 21 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -1540,23 +1540,23 @@ declare var FileList: {
1540
1540
};
1541
1541
1542
1542
interfaceFileReaderEventMap{
1543
-
"abort": FileReaderProgressEvent;
1544
-
"error": FileReaderProgressEvent;
1545
-
"load": FileReaderProgressEvent;
1546
-
"loadend": FileReaderProgressEvent;
1547
-
"loadstart": FileReaderProgressEvent;
1548
-
"progress": FileReaderProgressEvent;
1543
+
"abort": ProgressEvent<FileReader>;
1544
+
"error": ProgressEvent<FileReader>;
1545
+
"load": ProgressEvent<FileReader>;
1546
+
"loadend": ProgressEvent<FileReader>;
1547
+
"loadstart": ProgressEvent<FileReader>;
1548
+
"progress": ProgressEvent<FileReader>;
1549
1549
}
1550
1550
1551
1551
/** Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read. */
/** Allows to read File or Blob objects in a synchronous way. */
1589
1585
interfaceFileReaderSync{
1590
1586
readAsArrayBuffer(blob: Blob): ArrayBuffer;
@@ -2622,9 +2618,10 @@ declare var Permissions: {
2622
2618
};
2623
2619
2624
2620
/** Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an <img>, <audio>, <video>, <style> or <link>). */
0 commit comments