diff --git a/default.d.ts b/default.d.ts index 0031c3a..f97bda2 100644 --- a/default.d.ts +++ b/default.d.ts @@ -2,3 +2,6 @@ declare module 'vue3-aplayer' { const content: any export = content } +declare module 'file-saver' { + export function saveAs(blob: Blob | null | undefined, fileName: string): void +} diff --git a/package.json b/package.json index dc7cee5..d874b96 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "grapheme-splitter": "^1.0.4", "html2canvas": "^1.4.1", "linqts": "^1.15.0", + "mitt": "^3.0.1", "qrcode.vue": "^3.4.1", "universal-cookie": "^4.0.4", "vite": "^4.3.9", diff --git a/src/App.vue b/src/App.vue index e8afbe1..1fac3f3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,7 +2,7 @@ - +