Skip to content

Commit

Permalink
fix(ignore): overrides (#25246)
Browse files Browse the repository at this point in the history
Co-authored-by: Koen Kanters <[email protected]>
  • Loading branch information
Nerivec and Koenkk authored Dec 17, 2024
1 parent ef6524b commit c88f630
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/extension/bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand All @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/extension/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ interface ParsedTopic {
}

export default class Publish extends Extension {
async start(): Promise<void> {
override async start(): Promise<void> {
this.eventBus.onMQTTMessage(this, this.onMQTTMessage);
}

Expand Down
2 changes: 1 addition & 1 deletion lib/extension/receive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> {
override async start(): Promise<void> {
this.eventBus.onPublishEntityState(this, this.onPublishEntityState);
this.eventBus.onDeviceMessage(this, this.onDeviceMessage);
}
Expand Down

0 comments on commit c88f630

Please sign in to comment.