New build, typing ignores...
This commit is contained in:
@@ -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)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user