Skip to content

Commit 672009a

Browse files
committed
fix: adding string and number back to replaceBackground
1 parent 2f86156 commit 672009a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/url-loader/src/plugins/replace-background.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export declare namespace ReplaceBackgroundPlugin {
66
* @description Replaces the background of an image with an AI-generated background.
77
* @url https://cloudinary.com/documentation/transformation_reference#e_gen_background_replace
88
*/
9-
replaceBackground?: NestedOptions;
9+
replaceBackground?: NestedOptions | string | number;
1010
}
1111

1212
export interface NestedOptions {

0 commit comments

Comments
 (0)