Definitelytyped: @types/request duplicate identifier 'time'

Created on 14 Jul 2017  路  6Comments  路  Source: DefinitelyTyped/DefinitelyTyped

  • [x] I tried using the @types/request package and had problems.

Latest release seems to have added a duplicate 'time' identifier to the CoreOptions interface

node_modules/@types/request/index.d.ts(146,9): error TS2300: Duplicate identifier 'time'.
node_modules/@types/request/index.d.ts(157,9): error TS2300: Duplicate identifier 'time'.
  • [x] [Mention](https://github.com/blog/821-mention-somebody-they-re-notified) the authors (see Definitions by: in index.d.ts) so they can respond.

    • Authors: @soywiz @Bartvds @joeskeen @ccurrens

Most helpful comment

I'm getting the same.

How on earth do these things end up getting released. Clearly broken and braking my build!!

Please fix immediately.

All 6 comments

I'm getting the same.

How on earth do these things end up getting released. Clearly broken and braking my build!!

Please fix immediately.

18077

A temporary fix can be adding an older version of the package "@types/request": "0.0.42" worked for me (add this as well if you are using request-promise)

The same here, please fix

Breaking the build in a few projects for me too. Please fix this!

Was this page helpful?
0 / 5 - 0 ratings