Syntax parsing error of typescript exclamation mark in vue-cli 3.0new project in phpstorm

when initializing a project that supports typescript using vue-cli 3.0, in phpstorm, the following statement!: will be reported by the editor: expecting newline or semicolon
there is no error in using npm run lint
this is the initialized project, no changes have been made, it is determined that it is the configuration of the editor.
the editor cannot parse typescript"s exclamation mark syntax

import { Component, Prop, Vue } from "vue-property-decorator";

@Component
export default class HelloWorld extends Vue {
  @Prop() private msg!: string; //  !:
}
May.07,2021

solved removing the plug-in vetur and then reinstalling and restarting webstrom


it seems that the development and application scenarios of ts still exist


has the landlord solved this problem

?
Menu