Code
I believe the tsconfig.json file in TS + Gulp handbook example need to be updated with
"exclude": [
"node_modules"
]
Expected behavior:
no errors
Actual behavior:
The last example with browserify returns this:
TypeScript error: node_modules/bs-recipes/recipes/webpack.typescript.react/src/components/HelloWorld.tsx(12,13):
Error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
Copied from original issue: Microsoft/TypeScript#10047
From @Mimieam on July 30, 2016 16:9
TypeScript Version: 1.8.0
Code I believe the
tsconfig.json
file in TS + Gulp handbook example need to be updated withExpected behavior: no errors Actual behavior: The last example with browserify returns this:
Copied from original issue: Microsoft/TypeScript#10047