chore(types): fix example for createProductOptionValues in TSDocs and docs (#12623)

This commit is contained in:
Shahed Nasser
2025-05-27 12:45:21 +03:00
committed by GitHub
parent 41c29ffadd
commit 528ab9f8a8
2 changed files with 0 additions and 6 deletions

View File

@@ -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",
* })
*
*/

View File

@@ -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",
})
```