Skip to content

Commit cc30d66

Browse files
committed
feat(csv-stringify): ts extends options with stream.TransformOptions (#301)
1 parent 5a3aeff commit cc30d66

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/csv-stringify/dist/cjs/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface CastingContext {
1717
readonly index: number;
1818
readonly records: number;
1919
}
20-
export interface Options {
20+
export interface Options extends stream.TransformOptions {
2121
/**
2222
* Prepend the byte order mark (BOM) to the output stream.
2323
*/

packages/csv-stringify/dist/esm/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface CastingContext {
1717
readonly index: number;
1818
readonly records: number;
1919
}
20-
export interface Options {
20+
export interface Options extends stream.TransformOptions {
2121
/**
2222
* Prepend the byte order mark (BOM) to the output stream.
2323
*/

packages/csv-stringify/lib/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface CastingContext {
1717
readonly index: number;
1818
readonly records: number;
1919
}
20-
export interface Options {
20+
export interface Options extends stream.TransformOptions {
2121
/**
2222
* Prepend the byte order mark (BOM) to the output stream.
2323
*/

0 commit comments

Comments
 (0)