mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-15 01:59:57 +00:00
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:
@@ -30,11 +30,6 @@ interface WindowEventMap {
|
||||
beforeinstallprompt: BeforeInstallPromptEvent;
|
||||
}
|
||||
|
||||
interface ClipboardItem {
|
||||
types: string[];
|
||||
getType(type: string): Promise<Blob>;
|
||||
}
|
||||
|
||||
interface Clipboard {
|
||||
read(): Promise<ClipboardItem[]>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user