How to make the ts check that comes with vscode recognize the double colon operator

clipboard.png
when I use the double colon operator in a file, ts checks for errors, is there any way to prevent ts from reporting errors, and is there any rules that can be configured like eslint. (I have to turn on the verification function of ps:ts, I just don"t want it to verify double colons), please point out


enter

on the previous line
  

Hello, have you solved this problem at last?

Menu