Skip to content

Commit

Permalink
build: upgrade edge-runtime (#39898)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Aug 24, 2022
1 parent e2a5b09 commit 8958867
Show file tree
Hide file tree
Showing 20 changed files with 3,466 additions and 3,385 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.31",
"@fullhuman/postcss-purgecss": "1.3.0",
"@mdx-js/loader": "0.18.0",
"@next/bundle-analyzer": "workspace:*",
Expand Down
@@ -1,4 +1,12 @@
declare const AbortControllerConstructor: typeof AbortController
declare const AbortSignalConstructor: typeof AbortSignal
declare const AbortControllerConstructor: AbortController

export { AbortControllerConstructor as AbortController, AbortSignalConstructor as AbortSignal };
declare var AbortSignal: {
prototype: typeof AbortSignal
new (): typeof AbortSignal
/** 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, AbortSignal };

0 comments on commit 8958867

Please sign in to comment.