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

@ -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";

View file

@ -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) {