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
ghost opened this issue Aug 11, 2018 · 0 comments
Closed

Wrong type of renderError option #8635

ghost opened this issue Aug 11, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 11, 2018

Version

2.5.17

Reproduction link

https://github.com/st-sloth/vue-ts-renderError/commit/ff92cd5867333d9bfeec147be040e19e18441355

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 |
@ghost ghost mentioned this issue Aug 11, 2018
13 tasks
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

1 participant