refactor: add typescript support to project

This commit is contained in:
HD
2022-06-21 15:08:35 +08:00
parent 88ec2b742a
commit bd799ebea8
259 changed files with 1042 additions and 458 deletions
+2
View File
@@ -1,8 +1,10 @@
import { PrecacheEntry } from "workbox-precaching/src/_types";
import localforage from "localforage";
export declare global {
interface Window {
__WB_MANIFEST: Array<PrecacheEntry | string>;
skipWaiting: () => void;
CACHE: { [key: string]: typeof localforage };
}
}