fix weird TS errors

This commit is contained in:
MathMan05 2025-03-23 20:48:02 -05:00
parent 88dcde4c53
commit 5a5ba5f679
2 changed files with 1 additions and 2 deletions

View file

@ -244,7 +244,7 @@ class Directory {
return true;
} else {
//Curse you webkit!
return await this.setStringWorker(file, contents);
return await this.setStringWorker(file, contents.buffer as ArrayBuffer);
}
}
async getDir(name: string) {