Skip to content

Commit

Permalink
Fix TS error for projects using TS5 (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderMuller authored Jun 15, 2023
1 parent 8f8aa6d commit b5ed56b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/util/event-formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,11 @@
* Event name formatter
*/
export class EventFormatter {
/**
* Event namespace.
*/
namespace: string | boolean;

/**
* Create a new class instance.
*/
constructor(namespace: string | boolean) {
this.setNamespace(namespace);
constructor(private namespace: string | boolean) {
//
}

/**
Expand Down

0 comments on commit b5ed56b

Please sign in to comment.