Typescript v5 + eslint 8.57 WIP
This commit also improves some type handling in the project.
This commit is contained in:
@ -61,7 +61,7 @@ interface ChannelInfos {
|
||||
async function getChannelInfosById (
|
||||
options: RegisterServerOptions,
|
||||
channelId: number,
|
||||
restrictToLocalChannels: boolean = false
|
||||
restrictToLocalChannels = false
|
||||
): Promise<ChannelInfos | null> {
|
||||
if (!channelId) {
|
||||
throw new Error('Missing channelId')
|
||||
|
Reference in New Issue
Block a user