chore(types): fix example for createProductOptionValues in TSDocs and docs (#12623)
This commit is contained in:
@@ -1563,11 +1563,9 @@ export interface IProductModuleService extends IModuleService {
|
||||
* const options = await productModuleService.createProductOptionValues([
|
||||
* {
|
||||
* value: "Blue",
|
||||
* option_id: "opt_123",
|
||||
* },
|
||||
* {
|
||||
* value: "Green",
|
||||
* option_id: "opt_123",
|
||||
* },
|
||||
* ])
|
||||
*
|
||||
@@ -1587,7 +1585,6 @@ export interface IProductModuleService extends IModuleService {
|
||||
* @example
|
||||
* const option = await productModuleService.createProductOptionValues({
|
||||
* value: "Blue",
|
||||
* option_id: "opt_123",
|
||||
* })
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -26,11 +26,9 @@ This method is used to create product option values.
|
||||
const options = await productModuleService.createProductOptionValues([
|
||||
{
|
||||
value: "Blue",
|
||||
option_id: "opt_123",
|
||||
},
|
||||
{
|
||||
value: "Green",
|
||||
option_id: "opt_123",
|
||||
},
|
||||
])
|
||||
```
|
||||
@@ -52,7 +50,6 @@ This method is used to create a product option.
|
||||
```ts
|
||||
const option = await productModuleService.createProductOptionValues({
|
||||
value: "Blue",
|
||||
option_id: "opt_123",
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user