You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the command line, my project compiles fine using: tsc -p tsconfig.json
When using gulp-typescript 3.0 with TS 2.0, I get tons of comilation errors.
Apparently, TS does not know built-in objects such as Object, Function, RegExp, Promise, etc.
This should be covered by lib in my tsconfig options (and works on command line):
This looks like the same problem as microsoft/TypeScript#10678. Since you're only setting noResolve: true in your gulpfile, tsc doesn't have this option and works as expected.
@ivogabe I think you are correct, this is a TS bug.
I switched to noResolve from noExternalResolve in gulp-ts 2.x.
I guess I can remove it (for a perf hit) until TS is fixed.
On the command line, my project compiles fine using:
tsc -p tsconfig.json
When using gulp-typescript 3.0 with TS 2.0, I get tons of comilation errors.
Apparently, TS does not know built-in objects such as
Object
,Function
,RegExp
,Promise
, etc.This should be covered by
lib
in my tsconfig options (and works on command line):For reference, this is how I invoke gulp-ts:
The text was updated successfully, but these errors were encountered: