Skip to content

Commit

Permalink
fix(streams): add legacy streams to accepted types
Browse files Browse the repository at this point in the history
  • Loading branch information
cenk1cenk2 committed Jun 4, 2020
1 parent a4e1d26 commit f63dd52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interfaces/listr.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export interface ListrTaskWrapper<Ctx, Renderer extends ListrRendererFactory> {
stdout(): NodeJS.WritableStream
}

export type ListrTaskResult<Ctx> = string | Promise<any> | ListrClass<Ctx, ListrRendererFactory, any> | Readable | Observable<any>
export type ListrTaskResult<Ctx> = string | Promise<any> | ListrClass<Ctx, ListrRendererFactory, any> | Readable | NodeJS.ReadableStream | Observable<any>

export type ListrBaseClassOptions<
Ctx = ListrContext,
Expand Down

0 comments on commit f63dd52

Please sign in to comment.