Skip to content

Commit

Permalink
fix(testing): update types for EVENTS
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharmath committed Mar 24, 2018
1 parent 7417a9c commit 5d6bc0f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/internal/Events.ts
Expand Up @@ -51,19 +51,19 @@ export const EVENT = {
return new EventNext(time, value)
},

error(time: number, value: Error): EventError {
error(time: number, value: Error) {
return new EventError(time, value)
},

complete(time: number): EventComplete {
complete(time: number) {
return new EventComplete(time)
},

start(time: number, subscription: ISubscription): EventComplete {
start(time: number, subscription: ISubscription) {
return new EventStart(time, subscription)
},

end(time: number, subscription: ISubscription): EventComplete {
end(time: number, subscription: ISubscription) {
return new EventEnd(time, subscription)
}
}

0 comments on commit 5d6bc0f

Please sign in to comment.