fix weird TS errors
This commit is contained in:
parent
88dcde4c53
commit
5a5ba5f679
2 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue