My TypeScript sources are located in the directory:
src/game/ts
The configuration file tsconfig.json can be found at:
src/game/ts/tsconfig.json
Additionally, the typings are stored in:
src/game/ts/typings
When running tsc with the command:
tsc --p src/game/ts
Everything works fine. However, I encounter undefined type errors (related to types declared in files within src/game/ts/typings/**/*.d.ts
) when using this command:
browserify --debug src/game/ts/main.ts -p [ tsify --p src/game/ts ] > public/game/js/bundle.js
I'm wondering why tsc is not recognizing the definitions. The include section of my tsconfig.json looks like this:
"include": [
"main.ts", "typings/**/*.d.ts"
],