Skip to content

[Bug]: useConfig composable does not return error ref #1415

@skirianov

Description

@skirianov

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage-neededIssues that need to be checked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions