1.将lang改成tsx
2.JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.
tsconfig.json里添加"noImplicitAny": false,
3. Cannot use JSX unless the '--jsx' flag is provided.
tsconfig.json里添加"jsx": "preserve",
1.将lang改成tsx
2.JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.
tsconfig.json里添加"noImplicitAny": false,
3. Cannot use JSX unless the '--jsx' flag is provided.
tsconfig.json里添加"jsx": "preserve",