An open API service indexing awesome lists of open source software.

https://github.com/cherry/volar-erroneous-null-repro

https://github.com/vuejs/language-tools/issues/4209
https://github.com/cherry/volar-erroneous-null-repro

Last synced: 6 months ago
JSON representation

https://github.com/vuejs/language-tools/issues/4209

Awesome Lists containing this project

README

          

Reproduction for https://github.com/vuejs/language-tools/issues/4209

- See branch `main` for working in `vue-tsc@2.0.7` and older `volar`
- See branch `2.1.0` for erroring in `vue-tsc@2.1.0` and newer `volar`

Run `npm run test` in each branch to see the issue.

In `main`, no errors occur.
In `2.1.0`, the following error occurs:
```
src/example.vue:27:35 - error TS18047: '__VLS_ctx.example.foo.bar' is possibly 'null'.
```