fixing strict TS stuff

This commit is contained in:
MathMan05 2024-08-20 09:21:24 -05:00
parent 0102ddbeb4
commit a969887ddb
14 changed files with 571 additions and 411 deletions

View file

@ -198,7 +198,7 @@ class Message{
}
}
getimages(){
const build=[];
const build:File[]=[];
for(const thing of this.attachments){
if(thing.content_type.startsWith('image/')){
build.push(thing);