Skip to content

Commit eb64b12

Browse files
committed
feat(stream-transform): ts extends options with stream.TransformOptions
1 parent cc30d66 commit eb64b12

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/stream-transform/dist/cjs/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export type Handler<T = any, U = any> = (record: T, callback: HandlerCallback, p
66
export type HandlerCallback<T = any> = (err?: null | Error, record?: T) => void
77
export type Callback = (err?: null | Error, output?: string) => void
88

9-
export interface Options {
9+
export interface Options extends stream.TransformOptions {
1010
/**
1111
* In the absence of a consumer, like a `stream.Readable`, trigger the consumption of the stream.
1212
*/

packages/stream-transform/dist/esm/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export type Handler<T = any, U = any> = (record: T, callback: HandlerCallback, p
66
export type HandlerCallback<T = any> = (err?: null | Error, record?: T) => void
77
export type Callback = (err?: null | Error, output?: string) => void
88

9-
export interface Options {
9+
export interface Options extends stream.TransformOptions {
1010
/**
1111
* In the absence of a consumer, like a `stream.Readable`, trigger the consumption of the stream.
1212
*/

packages/stream-transform/lib/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export type Handler<T = any, U = any> = (record: T, callback: HandlerCallback, p
66
export type HandlerCallback<T = any> = (err?: null | Error, record?: T) => void
77
export type Callback = (err?: null | Error, output?: string) => void
88

9-
export interface Options {
9+
export interface Options extends stream.TransformOptions {
1010
/**
1111
* In the absence of a consumer, like a `stream.Readable`, trigger the consumption of the stream.
1212
*/

0 commit comments

Comments
 (0)