Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
3,466 additions
and
3,383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 11 additions & 1 deletion
12
packages/next/compiled/@edge-runtime/primitives/abort-controller.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
declare const AbortControllerConstructor: typeof AbortController | ||
declare const AbortSignalConstructor: typeof AbortSignal | ||
declare const DOMExceptionConstructor: typeof DOMException | ||
|
||
export { AbortControllerConstructor as AbortController, AbortSignalConstructor as AbortSignal }; | ||
declare var WathwgAbortSignal: { | ||
prototype: AbortSignalConstructor | ||
new (): AbortSignalConstructor | ||
/** Returns an AbortSignal instance which will be aborted in milliseconds milliseconds. Its abort reason will be set to a "TimeoutError" DOMException. */ | ||
timeout(milliseconds: number): AbortSignal | ||
/** Returns an AbortSignal instance whose abort reason is set to reason if not undefined; otherwise to an "AbortError" DOMException. */ | ||
abort(reason?: string): AbortSignal | ||
} | ||
|
||
export { AbortControllerConstructor as AbortController, WathwgAbortSignal as AbortSignal, DOMExceptionConstructor as DOMException }; |
Oops, something went wrong.