vscode & typescript & optional-chaining bug
https://www.cnblogs.com/xgqfrms/p/11745541.html
vscode error bug
solution
https://stackoverflow.com/questions/51741333/optional-chaining-operator-support-in-vscode
JavaScript and TypeScript Nightly
https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-next
OK
"javascript.implicitProjectConfig.experimentalDecorators": true,
{
"javascript.implicitProjectConfig.experimentalDecorators": true,
"typescript.validate.enable": false,
"editor.tabSize": 2,
"eslint.autoFixOnSave": true,
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"**/jspm_packages": true,
"**/node_modules": true,
"**/.zip": true,
"**/.sh": true
},
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true
},
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true
},
"editor.formatOnSave": false,
"editor.formatOnPaste": false,
"editor.renderWhitespace": "all",
"editor.fontSize": 16,
// "editor.tabSize": 4,
"editor.multiCursorModifier": "alt",
}