Update TypeScript and types packages

This pulls in TypeScript 4.4, which ships ResizeObserver in the DOM
types, as well as sets caught errors to `unknown`, requiring explicit
checks for `AbortError`.
This commit is contained in:
Tim van der Lippe
2021-10-20 11:36:27 +01:00
parent e3f840c6da
commit f523a07f01
5 changed files with 29 additions and 55 deletions

View File

@@ -30,11 +30,6 @@ interface WindowEventMap {
beforeinstallprompt: BeforeInstallPromptEvent;
}
interface ClipboardItem {
types: string[];
getType(type: string): Promise<Blob>;
}
interface Clipboard {
read(): Promise<ClipboardItem[]>;
}