vscode-meteor-toolbox
vscode-meteor-toolbox copied to clipboard
Omit warning ts(2686) on JSX files without import React
Since React 17, the import statement
import React from "react";
is no longer necessary. To omit the warning 'React' refers to a UMD global, but the current file is a module ts(2686), the compiler option for jsx must be set to react-jsx.
My manual changes to jsconfig.json are regularly overwritten by the Meteor Toolbox.
Thanks for providing the Meteor Toolbox! Looking forward to having React support soon, as PR #11 proposes.