aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/TypedEvent.ts
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-04-04 18:26:33 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-04-04 18:26:33 -0400
commit93bed89512baa506c1b5ed2223ffc83fa6b5390e (patch)
tree4ca4605480175aa946f606d63e16946f40066cfe /src/client/util/TypedEvent.ts
parentdc2a998acdae1545c8e7bf9ee9f4ca98bba82ac9 (diff)
Changed linter stuff
Diffstat (limited to 'src/client/util/TypedEvent.ts')
-rw-r--r--src/client/util/TypedEvent.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/util/TypedEvent.ts b/src/client/util/TypedEvent.ts
index c590d3734..1b251da25 100644
--- a/src/client/util/TypedEvent.ts
+++ b/src/client/util/TypedEvent.ts
@@ -36,6 +36,5 @@ export class TypedEvent<T> {
this.listenersOncer = [];
}
- pipe = (te: TypedEvent<T>): Disposable =>
- this.on((e) => te.emit(e))
+ pipe = (te: TypedEvent<T>): Disposable => this.on((e) => te.emit(e))
} \ No newline at end of file