Fix lint, split up namespace and interface
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ export class Emitter<T> {
|
||||
}
|
||||
}
|
||||
|
||||
export namespace Event {
|
||||
export namespace EventUtils {
|
||||
export function forward<T>(from: IEvent<T>, to: Emitter<T>): IDisposable {
|
||||
return from(e => to.fire(e));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user