Skip to content

Commit

Permalink
build: upgrade edge-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Aug 24, 2022
1 parent 0e678db commit 53ec582
Show file tree
Hide file tree
Showing 20 changed files with 3,466 additions and 3,383 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -56,7 +56,7 @@
"@babel/plugin-proposal-object-rest-spread": "7.14.7",
"@babel/preset-flow": "7.14.5",
"@babel/preset-react": "7.14.5",
"@edge-runtime/jest-environment": "1.1.0-beta.27",
"@edge-runtime/jest-environment": "1.1.0-beta.29",
"@fullhuman/postcss-purgecss": "1.3.0",
"@mdx-js/loader": "0.18.0",
"@next/bundle-analyzer": "workspace:*",
Expand Down
@@ -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 };

0 comments on commit 53ec582

Please sign in to comment.