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; // !:
}