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
- Host: GitHub
- URL: https://github.com/cherry/volar-erroneous-null-repro
- Owner: Cherry
- Created: 2024-04-04T18:34:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-04T18:43:24.000Z (about 2 years ago)
- Last Synced: 2025-01-30T03:28:00.131Z (over 1 year ago)
- Language: Vue
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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'.
```