feat: update to TypeScript 4.7 (#14242)

This commit is contained in:
Kitson Kelly 2022-06-01 10:19:18 +10:00 committed by GitHub
parent c41544ac7b
commit 7eee521199
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 24474 additions and 20858 deletions

View file

@ -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,