fix weird TS errors
This commit is contained in:
parent
88dcde4c53
commit
5a5ba5f679
2 changed files with 1 additions and 2 deletions
|
@ -16,7 +16,6 @@ import {
|
|||
messagejson,
|
||||
readyjson,
|
||||
startTypingjson,
|
||||
webhookType,
|
||||
} from "./jsontypes.js";
|
||||
import {MarkDown} from "./markdown.js";
|
||||
import {Member} from "./member.js";
|
||||
|
|
|
@ -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