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
Typescript version: 1.8.10 (should be the same for typescript < 2)
Web-request version with compile errors: 1.0.7
Last working web-request version: 1.0.6
Errors:
./node_modules/web-request/index.d.ts
Error:(150, 25) TS1110:Type expected.
Error:(150, 25) TS7008:Member 'null' implicitly has an 'any' type.
Error:(177, 5) TS2300:Duplicate identifier 'readonly'.
Error:(177, 14) TS1005:'=' expected.
random.ts
Error:(43, 38) TS2339:Property 'content' does not exist on type 'Response<string>'.
1.0.6 and 1.0.7 have different index.d.ts file
Additional info: error on typescript 1.8.10 from node_modules, system version of typescript - 2.0.3
The text was updated successfully, but these errors were encountered:
A change was taken to 1.0.7 to take advantage of non-nullable types which is a new feature of TypeScript 2.0. Unfortunately this appears to be a breaking change if you are using a lower version as you've suggested. In hindsight the library version should have been bumped up to 2.x. My apologies for any disruption this has caused.
Some options might be to move your toolset up to TypeScript 2.0 or lock your library dependency to 1.0.6. Do either of these options work for you?
Typescript version: 1.8.10 (should be the same for typescript < 2)
Web-request version with compile errors: 1.0.7
Last working web-request version: 1.0.6
Errors:
1.0.6 and 1.0.7 have different index.d.ts file
Additional info: error on typescript 1.8.10 from
node_modules
, system version of typescript - 2.0.3The text was updated successfully, but these errors were encountered: