Today my builds start failing due to errors on @type/superagent. I start lowering the version number until i found that the problem start with version 2.0.34. Before that no error is produced by the Typescript compiler (using Version 2.1.0-dev.20161017)
With @types/superagent@2.0.34 the error is:
node_modules/@types/superagent/index.d.ts(79,12): error TS2304: Cannot find name 'XMLHttpRequest'.
And with @types/superagent@2.0.35 the error is:
node_modules/@types/superagent/index.d.ts(79,12): error TS2304: Cannot find name 'XMLHttpRequest'.
I hope this info help you guys.
xxxx/xxxx.d.tsfile in this repo and had problems.xxxx/xxxx.d.ts.Today my builds start failing due to errors on @type/superagent. I start lowering the version number until i found that the problem start with version 2.0.34. Before that no error is produced by the Typescript compiler (using Version 2.1.0-dev.20161017)
With @types/superagent@2.0.34 the error is:
node_modules/@types/superagent/index.d.ts(79,12): error TS2304: Cannot find name 'XMLHttpRequest'.
And with @types/superagent@2.0.35 the error is:
node_modules/@types/superagent/index.d.ts(79,12): error TS2304: Cannot find name 'XMLHttpRequest'.
I hope this info help you guys.