fix weird TS errors
This commit is contained in:
@@ -16,7 +16,6 @@ import {
|
|||||||
messagejson,
|
messagejson,
|
||||||
readyjson,
|
readyjson,
|
||||||
startTypingjson,
|
startTypingjson,
|
||||||
webhookType,
|
|
||||||
} from "./jsontypes.js";
|
} from "./jsontypes.js";
|
||||||
import {MarkDown} from "./markdown.js";
|
import {MarkDown} from "./markdown.js";
|
||||||
import {Member} from "./member.js";
|
import {Member} from "./member.js";
|
||||||
|
@@ -244,7 +244,7 @@ class Directory {
|
|||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
//Curse you webkit!
|
//Curse you webkit!
|
||||||
return await this.setStringWorker(file, contents);
|
return await this.setStringWorker(file, contents.buffer as ArrayBuffer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
async getDir(name: string) {
|
async getDir(name: string) {
|
||||||
|
Reference in New Issue
Block a user