Fix some typescript issues (#32586)

Fixes around 30 or so typescript errors. No runtime changes.
This commit is contained in:
silverwind authored and GitHub committed 2024-11-21 13:57:42 +00:00
1 parent 9bf821ae6c
commit 675c288811
24 files changed
+89 -73

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ function attachDirAuto(el: DirElement) {
}
}
export function initDirAuto() {
export function initDirAuto(): void {
const observer = new MutationObserver((mutationList) => {
const len = mutationList.length;
for (let i = 0; i < len; i++) {