TypeScript check and typing corrections.

This commit is contained in:
2026-01-30 19:03:37 +00:00
parent 21250a1a2d
commit 4f39875786
14 changed files with 27 additions and 22 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ export const useMainStore = defineStore('main', {
ret.recursive.push([rel, full, doc])
}
for (const key of ret.keys) {
const base = ret.docs[key]
const base = ret.docs[key]!
const basepath = base.loc ? `${base.loc}/${base.name}` : base.name
const nremove = base.loc.length
add(base.name, basepath, base)