Skip to content

Commit 7f75f42

Browse files
committed
Use BackgroundRemovalPipelineType
1 parent fcdaa2b commit 7f75f42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pipelines.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2301,7 +2301,7 @@ export class ImageSegmentationPipeline extends (/** @type {new (options: ImagePi
23012301
* // ]
23022302
* ```
23032303
*/
2304-
export class BackgroundRemovalPipeline extends (/** @type {new (options: ImagePipelineConstructorArgs) => ImageSegmentationPipelineType} */ (ImageSegmentationPipeline)) {
2304+
export class BackgroundRemovalPipeline extends (/** @type {new (options: ImagePipelineConstructorArgs) => BackgroundRemovalPipelineType} */ (/** @type {any} */(ImageSegmentationPipeline))) {
23052305
/**
23062306
* Create a new BackgroundRemovalPipeline.
23072307
* @param {ImagePipelineConstructorArgs} options An object used to instantiate the pipeline.

0 commit comments

Comments
 (0)