magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

[Bug]: useConfig composable does not return `error` ref

Open skirianov opened this issue 2 years ago • 0 comments

Expected Behavior

useConfig composable has error ref inside it's body and should return it as every other composable

Actual Behavior

While error ref exists and does what it should, it's not being returned and interfaces are missing for it. Screenshot 2023-02-03 at 10 53 51

Possible Solution

Add error ref to the returned object and add it to the interface

Steps to reproduce

No response

What version of Magento 2 integration are you using?

@vue-storefront/magento-theme 1.1.0

What version of Node.js are you using?

N/A

What browser (and version) are you using?

N/A

What operating system (and version) are you using?

N/A

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

skirianov avatar Feb 03 '23 09:02 skirianov