summaryrefslogtreecommitdiff
path: root/ext/web/lib.deno_web.d.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2022-06-01 10:19:18 +1000
committerGitHub <noreply@github.com>2022-06-01 10:19:18 +1000
commit7eee521199e9735ab7c347d99e9d90ba3046be1a (patch)
tree2528f05c15f6e689c1cb409a6bbe554b2507fc40 /ext/web/lib.deno_web.d.ts
parentc41544ac7b502fbdb6c1ee96a604490b72eb7770 (diff)
feat: update to TypeScript 4.7 (#14242)
Diffstat (limited to 'ext/web/lib.deno_web.d.ts')
-rw-r--r--ext/web/lib.deno_web.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/web/lib.deno_web.d.ts b/ext/web/lib.deno_web.d.ts
index 13ad113fe..220a3cc60 100644
--- a/ext/web/lib.deno_web.d.ts
+++ b/ext/web/lib.deno_web.d.ts
@@ -275,7 +275,7 @@ interface AbortSignal extends EventTarget {
/** Returns true if this AbortSignal's AbortController has signaled to abort,
* and false otherwise. */
readonly aborted: boolean;
- readonly reason?: unknown;
+ readonly reason: any;
onabort: ((this: AbortSignal, ev: Event) => any) | null;
addEventListener<K extends keyof AbortSignalEventMap>(
type: K,