New build, typing ignores...

This commit is contained in:
Leo Vasanko
2023-11-01 23:07:13 +00:00
parent 52ecbc3d36
commit 05a16e3037
4 changed files with 10 additions and 2 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ import type { Document } from '@/repositories/Document';
import { fetchFile } from '@/repositories/Document'
import { formatSize, formatUnixDate } from '@/utils';
import { defineStore } from 'pinia';
// @ts-ignore
import { localeIncludes } from 'locale-includes'
type FileData = { id: string, mtime: number, size: number, dir: DirectoryData};
@@ -76,7 +77,7 @@ export const useDocumentStore = defineStore({
}
}
this.loading = true
const matched = {}
const matched: any = {}
traverseDir(this.root, "")
this.updateTable(matched)
},