Commit Graph

10 Commits

Author SHA1 Message Date
Alexander T
f611ec68ed microsoft-typescript/no-double-space 2019-06-14 11:52:48 +03:00
Mohamed Hegazy
b0d7d5a7ef Fix #21089: Do not infer from numeric index signature in Object.values and Object.entries (#21129)
* Fix https://github.com/Microsoft/TypeScript/issues/21089: Do not infer from numeric index signature in Object.values and Object.entries

* Update test
2018-01-17 14:16:11 -08:00
Andy
39dfeb0176 Add stricter parameter types for Object.values and Object.entries (#20553)
* Add stricter parameter types for Object.values and Object.entries

* Use mapped type and constrain 'T extends object'

* Revert everything but change to parameter types
2018-01-08 15:33:33 -08:00
falsandtru
661ecc241e Improve Object.{values,entries} static methods (#18875) 2017-10-09 15:08:22 -07:00
Taras Mankovski
59aa29b854 Added only the source file (#18175) 2017-09-07 09:15:07 -07:00
Andy Hanson
73cab09608 Enable jsdoc-format lint rule 2017-04-03 14:39:19 -07:00
Mohamed Hegazy
82e84e272e Make sure all overloads have comments 2016-11-28 17:30:37 -08:00
Mohamed Hegazy
143fc9164f Revert https://github.com/Microsoft/TypeScript/pull/12207 2016-11-28 17:30:26 -08:00
Ethan Resnick
ea33d6e501 More precise Object.entries type declarations
We can leverage the new index type queries and indexed access types
from #11929 to get better type inference for Object.entries.
2016-11-13 02:59:50 -05:00
Yui
b68e93966a Fix 8482: Add Object.values and Object.entries (#8538)
* Add es2017.Object library file

* Add tests and baselines

* Fix unittest

* Add es2017 lib flag

* Update baselines

* Add tests and baselines

* Address PR: add tests

* Address PR: add tests
2016-05-10 14:22:00 -07:00