Improving strict typescript checking

This commit is contained in:
Fabian Stamm
2022-02-14 00:58:05 +00:00
parent 3ececad91b
commit 58e00a9ca3
4 changed files with 8 additions and 2 deletions

View File

@ -22,7 +22,7 @@ export class Service {
export class ServiceProvider {
services = new Map<string, Service>();
requests = new Map<string, ResponseListener>();
requests = new Map<string, ResponseListener |undefined>();
constructor(private sendPacket: IMessageCallback) {}