Skip to content

Commit c695143

Browse files
Fix typescript interface FileOptions does not have duplex (#153)
1 parent d937be4 commit c695143

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/types.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ export interface FileOptions {
3737
* When upsert is set to true, the file is overwritten if it exists. When set to false, an error is thrown if the object already exists. Defaults to false.
3838
*/
3939
upsert?: boolean
40+
/**
41+
* The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method.
42+
*/
43+
duplex?: string
4044
}
4145

4246
export interface SearchOptions {

0 commit comments

Comments
 (0)