Skip to content

Commit

Permalink
improve typescript types
Browse files Browse the repository at this point in the history
  • Loading branch information
tjmehta committed Mar 22, 2020
1 parent 178d923 commit 78b707c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Expand Up @@ -4,9 +4,9 @@ declare module 'static-observable' {
export default class StaticObservable<ValueType> extends Observable<
ValueType
> {
static next(val: ValueType): StaticObservable<ValueType>
static error(error: Error): StaticObservable<ValueType>
static complete(): StaticObservable<ValueType>
static next<ValueType>(val: ValueType): StaticObservable<ValueType>
static error<ValueType>(error: Error): StaticObservable<ValueType>
static complete<ValueType>(): StaticObservable<ValueType>
next(val: ValueType): this
error(error: Error): this
complete(): this
Expand Down

0 comments on commit 78b707c

Please sign in to comment.