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.
Since React 17, the import statement
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.