Skip to content
Snippets Groups Projects
Commit dec81d32 authored by dakkar's avatar dakkar
Browse files

fix type in channel.ts

parent 671d71b3
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ class ChannelChannel extends Channel {
}
@bindThis
public async init(params: any) {
public async init(params: JsonObject) {
if (typeof params.channelId !== 'string') return;
this.channelId = params.channelId;
this.withFiles = !!(params.withFiles ?? false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment