tc39/proposal-record-tuple

Syntax problems with VSCode

sscaff1 opened this issue · 2 comments

How do you get the syntax to work with VSCode?

Screenshot 2023-07-13 at 11 23 03 AM

Rollup runs fine. Babel runs fine. Eslint runs fine. It's literally just VSCode.

Also, can this syntax be supported in typescript currently?

Also, can this syntax be supported in typescript currently?

Hi @sscaff1, this proposal is in Stage 2 of the TC39 proposal which is too early in the design phase for official TypeScript support to be available.

To suppress the syntax errors in VSCode you can override the "javascript.validate.enable" setting for that workspace.

Some more info here: https://stackoverflow.com/questions/36327096/vscode-linter-es6-es7-babel-linter