Closed
Description
Info
- Platform: macOS
- Vetur version: 0.16.2
- VS Code version: 1.33.0-insider
Problem
The problems in deleted files are still exist in PROBLEMS panel.
Actually, it is also a bug on both code and code-insider. I just use code-insider as a clean version without other extensions.
Reproducible Case
- Generate a new vue project with vue-cli 3 with Typescript.
- Write a .vue file with problem.
<template>
<div>{{ hello }}</div>
</template>
<script lang="ts">
import Vue from 'vue';
import Component from 'vue-class-component';
@Component
export default class File extends Vue {
public hello: string = 123;
}
</script>
- It said
Type '123' is not assignable to type 'string'.
in PROBLEM panel. - Delete the file
- It is still there. Click the file and vscode says
File not found
- Reload the Code and problem is not shown anymore.