Kanchalai Tanglertsampan
feefd520b6
Reorder promise.all signatures
2017-06-22 11:51:00 -07:00
Mohamed Hegazy
a3f39ece62
Fix #16521 : mark thisArg as optional in typed array map function ( #16526 )
2017-06-14 11:58:21 -07:00
Mohamed Hegazy
c8d33bc38e
Update generated files
2017-06-07 22:17:40 -07:00
Mohamed Hegazy
a76b4b1f28
Array cleanup ( #16223 )
...
* Fix for #13840 : Remove map tuple overloads
* Coalesce signatures on array that use this args
* Remove generic signatures
* Add comments to toLocalString
* clean up typed array interfaces
2017-06-04 14:26:18 -07:00
Donald Pipowitch
f309996b32
added es2017.intl ( #15369 )
2017-05-24 09:50:38 -07:00
Mohamed Hegazy
1f8cf313e1
Port lib changes 5 22 2017 ( #16005 )
...
* Port lib changes
* Update LKG
2017-05-22 16:12:55 -07:00
Ron Buckton
578826cd61
Adds definitions for the es2017 Atomics global object
2017-05-10 17:19:26 -07:00
Mohamed Hegazy
888e264eda
Merge pull request #15694 from astegmaier/patch-1
...
getOwnPropertyDescriptor return should allow undefined
2017-05-09 10:55:49 -07:00
Andrew Stegmaier
ccec13aaf1
getOwnPropertyDescriptor return should allow undefined
...
getOwnPropertyDescriptor _should_ return undefined in certain situations. This is documented here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/getOwnPropertyDescriptor
This change addresses https://github.com/Microsoft/TypeScript/issues/14923 and https://github.com/Microsoft/TypeScript/issues/10904 . The original fix to 14923 was to the /lib/lib.es2015.proxy.d.ts file instead of /src/lib/lib.es2015.proxy.d.ts (see: https://github.com/Microsoft/TypeScript/pull/10550/commits ). I think this meant that the change got over-written by a generation script (see note here: https://github.com/Microsoft/TypeScript/tree/master/lib )
2017-05-08 23:56:29 -07:00
Peter Burns
0e74053abc
Add missing space.
2017-04-28 12:50:35 -07:00
Peter Burns
721f229b0b
Declare iterable methods for Readonly collections.
...
https://github.com/Microsoft/TypeScript/pull/10921 added readonly maps and sets, similar to ReadonlyArray.
This adds the iterator methods [Symbol.iterator], keys(), values(), and entries() to them as well.
2017-04-24 10:42:48 -07:00
Mohamed Hegazy
bb8a875e71
Merge pull request #15050 from YuichiNukiyama/add_headers_iteratableiterator
...
Fix Headers interface
2017-04-24 09:27:00 -07:00
Yuichi Nukiyama
2713501298
fix mistake
2017-04-25 00:02:33 +09:00
Yuichi Nukiyama
1fb010e7f8
add Symbol.iterator
2017-04-24 23:42:23 +09:00
Herrington Darkholme
ab7d5ee8c7
add missing methods
2017-04-21 09:38:55 +08:00
Herrington Darkholme
13afdb81e8
fix #15243 : add URLSearchParams to iterable
2017-04-20 10:20:58 +08:00
Mohamed Hegazy
552f1d85c9
Revert changes to WeakSet defitions adding object constraint
...
This reverts the changes to WeakSet done in https://github.com/Microsoft/TypeScript/pull/15124 to avoid breaks in existing @types packages like @types/lodash
2017-04-19 13:55:13 -07:00
Reiner Dolp
eb36455c8b
fix issue 15275
2017-04-19 19:37:37 +01:00
Reiner Dolp
bb1f8f17db
fix issue 10452
2017-04-19 19:36:19 +01:00
Mohamed Hegazy
2ddf4992ee
Merge remote-tracking branch 'origin/master' into fix15184
2017-04-14 09:30:47 -07:00
Ron Buckton
28c0eedcc6
Merge pull request #15124 from falsandtru/lib.d.ts/object
...
Use `object` type
2017-04-14 09:03:55 -07:00
Mohamed Hegazy
a9c015a56a
Fix #15184 : Use void and not undefined for this parameter types in the library
2017-04-13 16:25:48 -07:00
Mohamed Hegazy
ea9670de43
Port generated lib files
2017-04-13 14:57:25 -07:00
falsandtru
8a851f3702
Use object type
2017-04-11 21:39:51 +09:00
Yuichi Nukiyama
8b24189aee
Fix Headers interface
2017-04-06 23:29:36 +09:00
Andy Hanson
73cab09608
Enable jsdoc-format lint rule
2017-04-03 14:39:19 -07:00
Mohamed Hegazy
3ab7c868d9
Merge pull request #14859 from NColey/form-data-methods
...
Add missing methods for FormData type
2017-03-28 21:35:52 -07:00
ncoley
cac60457b1
Update FormData methods with appropriate types
2017-03-28 21:53:14 -04:00
ncoley
6366719de8
Add missing methods for FormData type
2017-03-26 19:05:13 -04:00
Mohamed Hegazy
02e487ac08
Merge pull request #14811 from IgorNovozhilov/patch-1
...
[object Generator]
2017-03-26 14:14:27 -07:00
IgorNovozhilov
ee2a909f54
["Two small changes"]
2017-03-26 17:08:27 +03:00
IgorNovozhilov
a065331d69
[object Generator]
...
25.3 Generator Objects
http://www.ecma-international.org/ecma-262/6.0/#sec-generator-objects
```
C:\Users> node
> GF = function* (){}
[Function: GF]
> GF.constructor.name
'GeneratorFunction'
> G = GF()
{}
> G + ''
'[object Generator]'
```
2017-03-25 17:26:18 +03:00
Mohamed Hegazy
868802b223
Port updated dom files ( #14805 )
2017-03-23 00:41:07 -07:00
Andy Hanson
0152e8c4bb
Fix lint scripts
2017-03-20 09:58:37 -07:00
Andy Hanson
2305c10a65
Fix lint errors
2017-03-17 13:54:18 -07:00
Mohamed Hegazy
4b3cd6a1db
Merge pull request #14641 from cedvdb/master
...
Added `entries`, `foreach`, `values` and `keys` to NodeListOf
2017-03-15 12:15:53 -07:00
cedvdb
e8b6e8b0f1
swap entries and values
2017-03-15 12:48:55 +01:00
cedvdb
db878adea3
changed forEach comment
2017-03-15 03:15:58 +01:00
cedvdb
8d0e0f3f79
Added comment for forEach
2017-03-15 03:12:08 +01:00
cedvdb
f20c59a7d2
change NodeList to NodeListOf in NodeListOf.forEach
2017-03-15 03:10:40 +01:00
cedvdb
d9cab83314
Change Node to TNode in NodeListOf
2017-03-15 03:08:16 +01:00
cedvdb
64070632dc
added comments
2017-03-15 03:06:25 +01:00
cedvdb
45ae0b453c
change to forEach method
2017-03-15 01:15:15 +01:00
cedvdb
8cac5285b9
added keys, values, `forEach, entries` to nodelist
2017-03-14 04:15:32 +01:00
cedvdb
875328c123
removed white space
2017-03-14 00:55:41 +01:00
cedvdb
5f37d32dbf
added keys, entries, values, forEach on NodeListOf
2017-03-14 00:52:47 +01:00
falsandtru
d86976a9ef
Convert overloads to unions
2017-03-14 08:06:00 +09:00
e-cloud
cedad974d2
fix: add generic info for methods with thisArg of built-in classes
...
when enabling `noImplicitThis`, if assing this argument for
methods like `array.forEach` will cause compilation error.
This commit fixes it.
fix #12548
2017-03-09 11:52:54 +08:00
Anders Hejlsberg
7561cdf6bf
Add ThisType<any> to Object.{create|defineProperty|defineProperties}
2017-03-01 17:16:09 -08:00
Anders Hejlsberg
ee7b93c1a0
Merge branch 'master' into contextualThisType
2017-02-28 09:52:03 -08:00