Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong type of renderError option #8635

Closed
st-sloth opened this issue Aug 11, 2018 · 0 comments
Closed

Wrong type of renderError option #8635

st-sloth opened this issue Aug 11, 2018 · 0 comments

Comments

@st-sloth
Copy link
Contributor

Version

2.5.17

Reproduction link

st-sloth/vue-ts-renderError@ff92cd5

Steps to reproduce

  1. Clone repo
  2. npm i
  3. npm run serve

What is expected?

No TypeScript errors

What is actually happening?

10:12 Expected 0 arguments, but got 3.
     8 |   // https://vuejs.org/v2/api/#renderError
     9 |   renderError (h, err) {
  > 10 |     return h('pre', { style: { color: 'red' }}, err.stack)
       |            ^
    11 |   },
    12 | }).$mount('#app')
    13 |
st-sloth added a commit to st-sloth/vue that referenced this issue Aug 11, 2018
f2009 pushed a commit to f2009/vue that referenced this issue Jan 25, 2019
aJean pushed a commit to aJean/vue that referenced this issue Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants