Skip to content
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
@DanielRosenwasser

Description

@DanielRosenwasser

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions