This repository was archived by the owner on Oct 12, 2022. It is now read-only.
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
update for gulp-typescript handbook example #355
Open
Description
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 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