197 Commits

Author SHA1 Message Date
falsandtru
5cb13f3909 Remove clear method in WeakSet and WeakMap 2016-01-23 19:08:32 +09:00
Daniel Rosenwasser
d5a585fb96 Fix 'includes' method in 'Int8Array'. 2016-01-22 13:43:23 -08:00
YuichiNukiyama
1eda3efbed Add Array.prototype.includes
Add Array.prototype.includes method. method of comments  I've quoted
from
[MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes).
And change Jakefiles.js to build lib.es7.d.ts.
2016-01-22 12:08:28 +00:00
zhengbli
7cf97eb57f update lib from TSJS 20160119 2016-01-19 17:29:51 -08:00
Vladimir Matveev
dd58228861 add no-default-lib tag to core libraries 2016-01-11 21:34:52 -08:00
Nathan Shively-Sanders
1c553dfd79 Reverse order of Promise.all overloads.
The highest arity overloads should come first -- Typescript chooses the
first overload that matches, which currently means that the *shortest*
tuple type gets chosen, not the longest matching one.
2016-01-11 09:34:49 -08:00
Zhengbo Li
b168da9248 Merge pull request #6300 from zhengbli/syncTsjs20151230
Update dom.generated.d.ts with latest version in TSJS repo
2016-01-06 00:41:09 -08:00
Daniel Rosenwasser
7d292c41d6 Use string literals for '[Symbol.toStringTag]' properties. 2016-01-05 11:23:45 -05:00
Daniel Rosenwasser
a4dc0f37da Added '[Symbol.toStringTag]' properties to type arrays. 2016-01-05 11:20:44 -05:00
Daniel Rosenwasser
347359c18e Added '[Symbol.toStringTag]' property to 'GeneratorFunction'. 2016-01-05 11:08:52 -05:00
Zhengbo Li
55ae18b824 update dom.generated.d.ts with latest version in TSJS repo 2015-12-30 14:23:47 -08:00
Zhengbo Li
da009c5b21 update lib.d.ts from TSJS repo 2015-12-07 22:28:02 -08:00
Nathan Shively-Sanders
3bf39d6df1 Explicitly list tuple overloads for Promise.all.
Previously, the array type would infer a union type for multiple arguments
of differing types. The original overload remains, but I added 9
tuple-based overloads to support up to 10 heterogeneously-typed arguments.
2015-12-07 09:51:00 -08:00
zhengbli
180eba5568 Sync the dom.generated.d.ts files from TSJS repo 2015-11-30 12:40:41 -08:00
Daniel Rosenwasser
83c33551ae Added 'README.md' files to 'lib' and 'src/lib'. 2015-11-02 16:57:57 -08:00
zhengbli
38caf535fc fix i4177 and sync with the TSJS repo 2015-10-26 08:23:50 -04:00
John Vilk
f10c7cc154 Change ArrayBuffer.isView declaration to type guard for ArrayBufferView.
Also adds a test that checks that `ArrayBuffer.isView` appropriately narrows its argument to `ArrayBufferView`.

Fixes #5308.
2015-10-18 20:05:30 -04:00
zhengbli
de52865243 Remove prototype from NodeFilter static type 2015-10-12 11:35:36 -07:00
zhengbli
9eed58db47 Fix i4684 2015-10-08 11:23:52 -07:00
zhengbli
7175e5d1ae fix issue 4942 2015-10-07 14:32:17 -07:00
zhengbli
1860f4358e Add msapp content back, only remove the internal content 2015-10-01 10:07:11 -07:00
zhengbli
de902e2c6e Remove MS specific types from lib.d.ts 2015-10-01 10:03:54 -07:00
zhengbli
660058dcde Fix the bug turning Float32Array type to any 2015-09-30 13:55:29 -07:00
Punya Biswal
55218d64a5 Fix capitalization of minimumintegerDigits 2015-09-18 08:42:42 -04:00
Mohamed Hegazy
98db640a2c Fix documentation 2015-09-17 16:14:46 -07:00
Mohamed Hegazy
6969986bf0 Use intersection types in Object.assing defintion 2015-09-17 16:14:39 -07:00
Graeme Wicksted
03da2ce42b Added toLocaleTimeString variations
See [Mozilla Reference ](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleTimeString)
2015-09-02 10:19:49 -04:00
Graeme Wicksted
c209747c6a Add parameters to toLocaleDateString
Also added missing option in Intl.DateTimeFormatOptions (timeZone).  Original ticket #4294
2015-08-31 10:29:58 -04:00
zhengbli
748231f45d CR feedback 2015-08-26 12:24:40 -07:00
zhengbli
c7ea94be75 fix MessageEvent and ProgressEvent constructors 2015-08-26 12:12:40 -07:00
zhengbli
9ed51c6399 Fix inconsistent line endings in lib.d.ts 2015-08-25 12:16:31 -07:00
zhengbli
fb403dad91 Move getElementsByClassName from HTMLElement to Element 2015-08-21 16:01:35 -07:00
Daniel Rosenwasser
069d2dc724 Merge pull request #4369 from Microsoft/updateES6DotDDotTsForFinalDraft
Update es6.d.ts for ES6 final draft (Part II)
2015-08-19 22:42:18 -07:00
Daniel Rosenwasser
a55d531677 Fixed newlines, switched 'module' keyword to 'namespace'. 2015-08-19 18:22:40 -07:00
Daniel Rosenwasser
af05e46b28 Added overloads for typed array constructors to take an 'Iterable<number>'. 2015-08-19 17:11:10 -07:00
Daniel Rosenwasser
0efa8599f0 Merge branch 'master' into updateES6DotDDotTsForFinalDraft 2015-08-19 17:04:26 -07:00
Daniel Rosenwasser
b27ab24343 Updated 'Reflect.construct' to add third 'newTarget' argument. 2015-08-19 15:53:31 -07:00
Daniel Rosenwasser
f36f510411 Fix documentation for methods of the 'String' interface. 2015-08-19 15:46:56 -07:00
Daniel Rosenwasser
08f37cc2fa Added overload for 'String#split' to take objects with '[Symbol.split]' method. 2015-08-19 15:09:25 -07:00
Daniel Rosenwasser
312df84934 Added overload for 'String#search' to take objects with '[Symbol.search]' method. 2015-08-19 15:06:10 -07:00
Daniel Rosenwasser
25d55b5101 Added overload for 'String#replace' to take objects with '[Symbol.replace]' method. 2015-08-19 15:02:46 -07:00
zhengbli
df3ecab074 Remove duplicated code 2015-08-19 15:02:37 -07:00
Daniel Rosenwasser
4dd701a22c Added overload for 'String#match' to take objects with '[Symbol.match]' method. 2015-08-19 15:02:13 -07:00
zhengbli
831d2eb137 Move back the constructor signature with Uint8ClampedArray 2015-08-19 15:01:23 -07:00
zhengbli
9848e335d8 Merge branch 'master' into issue4220 2015-08-19 14:55:18 -07:00
zhengbli
0ba3760923 Merge branch 'master' 2015-08-19 14:35:30 -07:00
Zhengbo Li
648d1d869b Merge pull request #4312 from zhengbli/issue4015
Add missing types to webworker.generated.ts
2015-08-19 14:29:09 -07:00
Zhengbo Li
a2a6dec6d5 Merge pull request #4313 from zhengbli/issue4012
Fix document.open return type
2015-08-19 14:26:15 -07:00
Zhengbo Li
b5a6161d46 Merge pull request #4318 from zhengbli/issue3999
Fix File constructor
2015-08-19 14:25:58 -07:00
zhengbli
04c54f80bb Merge branch 'master' into issue3979 2015-08-19 14:05:07 -07:00