Skip to content

Commit b5ed56b

Browse files
authored
Fix TS error for projects using TS5 (#381)
1 parent 8f8aa6d commit b5ed56b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/util/event-formatter.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,11 @@
22
* Event name formatter
33
*/
44
export class EventFormatter {
5-
/**
6-
* Event namespace.
7-
*/
8-
namespace: string | boolean;
9-
105
/**
116
* Create a new class instance.
127
*/
13-
constructor(namespace: string | boolean) {
14-
this.setNamespace(namespace);
8+
constructor(private namespace: string | boolean) {
9+
//
1510
}
1611

1712
/**

0 commit comments

Comments
 (0)