fixing strict TS stuff
This commit is contained in:
parent
0102ddbeb4
commit
a969887ddb
14 changed files with 571 additions and 411 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue