Commit Graph

381 Commits

Author SHA1 Message Date
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
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
Mohamed Hegazy
a89c62a268 Fix #14136: Make Object.create return any all the time 2017-02-17 16:47:51 -08:00
Anders Hejlsberg
fe32bb7642 Merge branch 'master' into contextualThisType 2017-02-16 20:15:55 -08:00
Ron Buckton
cf72ceb093 Merge branch 'master' into asyncGenerators 2017-02-16 17:22:43 -08:00
Anders Hejlsberg
8cd6c5d8eb Introduce ThisType<T> marker interface 2017-02-16 17:03:39 -08:00
Ron Buckton
23216f9ba1 Merge branch 'master' into genericDefaults 2017-02-14 19:19:18 -08:00
Mohamed Hegazy
ae02db4950 Merge pull request #13936 from Microsoft/FixObjectCreate
Fix #13932: Change the order of overloads and allow union for `Object.create`
2017-02-14 13:29:41 -08:00
Mohamed Hegazy
891b1aecde Merge pull request #14071 from Microsoft/portLibChanges
Use `Promise` instead of `PromiseLike` in the library
2017-02-14 11:44:33 -08:00
Mohamed Hegazy
b3bb8ae996 Merge pull request #14000 from mattmccutchen/lib-string-replace
lib: Fix documentation of String.replace first parameter.
2017-02-14 11:39:12 -08:00
Mohamed Hegazy
84111fa581 Use Promise instead of PromiseLike in the library 2017-02-14 11:29:14 -08:00
Mohamed Hegazy
6feafc9483 Remove extra overload 2017-02-13 20:49:37 -08:00
Mohamed Hegazy
d7ae0df647 Move interface Promise<T> declaration to es5.d.ts 2017-02-13 12:50:44 -08:00
Matt McCutchen
ecfa0de449 lib: Fix documentation of String.replace first parameter.
The documentation incorrectly suggested that if the first parameter is a
string, it is interpreted as a regular expression.
2017-02-10 16:28:00 -05:00
Ron Buckton
3e427f4860 Merge branch 'master' into asyncGenerators 2017-02-10 09:46:06 -08:00
Mohamed Hegazy
ab60d319b2 Fix #13932: Change the order of overloads and allow union for Object.create 2017-02-07 14:07:55 -08:00
zhengbli
5f1fafce5e routine lib files update 2017-02-02 15:25:05 -08:00
Ron Buckton
5d415cac52 Merge branch 'master' into asyncGenerators 2017-02-02 12:11:44 -08:00
Ron Buckton
b58ef9e932 Merge branch 'master' into genericDefaults 2017-01-30 14:32:00 -08:00
Nathan Shively-Sanders
aeeff28fd6 Merge pull request #13350 from HerringtonDarkholme/lib
update declaration file to use intrinsic object type
2017-01-27 10:29:03 -08:00
Mohamed Hegazy
f6ee80c675 Merge pull request #13553 from falsandtru/lib.d.ts/symbol
Fix Symbol.valueOf method signature
2017-01-23 15:16:00 -08:00
falsandtru
da05ced2e5 Fix Symbol.valueOf method signature 2017-01-24 07:58:31 +09:00