diff --git a/lib/extension/bridge.ts b/lib/extension/bridge.ts index 6e4dd213dd..0471689ed1 100644 --- a/lib/extension/bridge.ts +++ b/lib/extension/bridge.ts @@ -69,7 +69,7 @@ export default class Bridge extends Extension { if (debugToMQTTFrontend) { class DebugEventTransport extends Transport { - log(info: {message: string; level: string; namespace: string}, next: () => void): void { + override log(info: {message: string; level: string; namespace: string}, next: () => void): void { bridgeLogging(info.message, info.level, info.namespace); next(); } @@ -78,7 +78,7 @@ export default class Bridge extends Extension { this.logTransport = new DebugEventTransport(); } else { class EventTransport extends Transport { - log(info: {message: string; level: string; namespace: string}, next: () => void): void { + override log(info: {message: string; level: string; namespace: string}, next: () => void): void { if (info.level !== 'debug') { bridgeLogging(info.message, info.level, info.namespace); } diff --git a/lib/extension/publish.ts b/lib/extension/publish.ts index 3bb83b8bb4..a1ff62e244 100644 --- a/lib/extension/publish.ts +++ b/lib/extension/publish.ts @@ -28,7 +28,7 @@ interface ParsedTopic { } export default class Publish extends Extension { - async start(): Promise { + override async start(): Promise { this.eventBus.onMQTTMessage(this, this.onMQTTMessage); } diff --git a/lib/extension/receive.ts b/lib/extension/receive.ts index 5cb3584e86..9982f20158 100755 --- a/lib/extension/receive.ts +++ b/lib/extension/receive.ts @@ -19,7 +19,7 @@ export default class Receive extends Extension { private debouncers: {[s: string]: {payload: KeyValue; publish: DebounceFunction}} = {}; private throttlers: {[s: string]: {publish: PublishEntityState}} = {}; - async start(): Promise { + override async start(): Promise { this.eventBus.onPublishEntityState(this, this.onPublishEntityState); this.eventBus.onDeviceMessage(this, this.onDeviceMessage); }