I have my typescript sources in the path:
src/game/ts
tsconfig.json is in:
src/game/ts/tsconfig.json
and typings in:
src/game/ts/typings
I can run tsc fine with:
tsc --p src/game/ts
But I get undefined type errors (for types declared in src/game/ts/typings/**/*.d.ts
files) using this command:
browserify --debug src/game/ts/main.ts -p [ tsify --p src/game/ts ] > public/game/js/bundle.js
Why isn't tsc picking up the definitions? My tsconfig.json contains:
"include": [
"main.ts", "typings/**/*.d.ts"
],