Open amritk opened 9 years ago
same error here, version of tsc is message TS6029: Version 1.5.0-beta
definitions installed via TSD.
Compiling jquery.d.ts directly gives no error.
I have similar errors on file angular.d.ts too.
I've found possible solution for our problems. Repository `typescript-ruby-src' that uses local TS node module instead of internal one. It's only pull request since original author seems to abandon repo.
https://github.com/typescript-ruby/typescript-src-ruby/pull/6
You can also check out
https://github.com/typescript-ruby/typescript-node-ruby/issues/5
It's updated to v1.6.2. Try it now please.
If I include jquery.d.ts I get a tonne of unexpected errors:
according to this SO post it means the typescript version is outdated. I am currently using
message TS6029: Version 1.5.0-beta
and compiling with tsc works fine.It also blows up when using let
where var works fine
Which makes me think this gem is using an older version of typescript, or mine is pointing to the wrong one.