Skip to content

Commit e136f6a

Browse files
Update packages/shell-api/src/stream-processor.ts
Co-authored-by: Anna Henningsen <[email protected]>
1 parent ec0984d commit e136f6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/shell-api/src/stream-processor.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ export default class StreamProcessor extends ShellApiWithMongoClass {
6565
* Keep the same pipeline, change other options:
6666
* sp.name.modify({resumeFromCheckpoint: false})
6767
*/
68-
async modify(pipelineOrOptions: Document[] | Document): Promise<Document>;
68+
async modify(options: Document): Promise<Document>;
69+
async modify(pipeline: Document[], options?: Document): Promise<Document>;
6970

7071
/**
7172
* modify is used to modify a stream processor definition, like below:

0 commit comments

Comments
 (0)