You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to pass some additional data while updatin product information.
To do so, I extended the product module to add my information as defined in the docs.
Middleware is also accepting data through
Object literal may only specify known properties, and 'additional_data' does not exist in type 'AdminUpdateProduct'
Expected behavior
No typescript error, as it's stated in the docs, I would except to be able to pass data through additional_data which could be a field of AdminUpdateProduct
Actual behavior
TS error
Link to reproduction repo
Sorry, didn't take time to create one and the issue is just about a typing
The text was updated successfully, but these errors were encountered:
Package.json file
Node.js version
v20.17.0
Database and its version
17.2
Operating system name and version
Mac OS Sequoia
Browser name
No response
What happended?
I would like to pass some additional data while updatin product information.
To do so, I extended the product module to add my information as defined in the docs.
Middleware is also accepting data through
I update the product info thanks to the JS SDK, which is working fine :
However, I have a Typescript error :
Expected behavior
No typescript error, as it's stated in the docs, I would except to be able to pass data through
additional_data
which could be a field ofAdminUpdateProduct
Actual behavior
TS error
Link to reproduction repo
Sorry, didn't take time to create one and the issue is just about a typing
The text was updated successfully, but these errors were encountered: