TS17004
error TS17004: Cannot use JSX unless the ‘–jsx’ flag is provided.
Broken Code ❌
1 |
|
Fixed Code ✔️
You have to add a configuration for “jsx” to your “tsconfig.json” file:
1 |
|
error TS17004: Cannot use JSX unless the ‘–jsx’ flag is provided.
1 |
|
You have to add a configuration for “jsx” to your “tsconfig.json” file:
1 |
|