107 Commits

Author SHA1 Message Date
Zhengbo Li
9bfdc289d9 Fix issue #3216 2015-07-01 16:22:34 -07:00
Ron Buckton
4b4a96b9dc Merge branch 'master' into asyncFunctions 2015-07-01 09:27:45 -07:00
Mohamed Hegazy
72aeb3c208 Merge pull request #3547 from Microsoft/updateMapDeclaration
Add a non-generic construct signature to Map, Set, and WeakMap
2015-06-23 17:38:49 -07:00
Mohamed Hegazy
76ec1f0fec Add a non-generic construct signature to Map, Set, and WeakMap 2015-06-17 21:28:49 -07:00
piloopin
6ee1890e94 Fix Intl.DateTimeFormat.format and Int.NumberFormatOptions signature 2015-06-17 00:57:23 +04:30
Ron Buckton
5ebad5889c Merge branch 'master' into asyncFunctions 2015-06-15 11:47:15 -07:00
Mohamed Hegazy
1a520386bb Define Array.isArray using a type predicate 2015-06-12 09:32:15 -07:00
Ron Buckton
6fc07e65f5 Merged branch 'master' into asyncFunctions 2015-06-10 12:31:35 -07:00
SaschaNaz
cc85807103 adding iterators to DOM interfaces 2015-06-05 20:54:22 +09:00
Ron Buckton
9560d6f1e9 Merge branch 'master' into asyncFunctions 2015-06-04 11:53:51 -07:00
Zhengbo Li
d3c7e2bff7 Add other overloads for texImage2D and texSubImage2D 2015-06-03 16:41:05 -07:00
Zhengbo Li
c7b2fe016d Remove the DocumentEvent itself from createEvent overload. 2015-06-03 13:40:36 -07:00
Zhengbo Li
8b62a326d4 Dom lib file bug fix
Fix #3344; removed duplicated overloads for ``createEvent`` and some
minor fixes.
2015-06-02 19:22:03 -07:00
Jason Freeman
059bb18bac Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments14_ES6.symbols
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments15_ES6.symbols
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments16_ES6.symbols
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments17_ES6.symbols
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments18_ES6.symbols
	tests/baselines/reference/for-of37.symbols
	tests/baselines/reference/for-of38.symbols
	tests/baselines/reference/for-of40.symbols
	tests/baselines/reference/for-of45.symbols
	tests/baselines/reference/for-of50.symbols
	tests/baselines/reference/iterableArrayPattern30.symbols
	tests/baselines/reference/promiseVoidErrorCallback.symbols
	tests/baselines/reference/typedArrays.symbols
2015-05-29 17:14:29 -07:00
Daniel Rosenwasser
3cf9eca0c0 Added the iterator symbol to 'IArguments'. 2015-05-29 15:06:43 -07:00
Ben Duffield
538978e3be fix constructors for DateTimeFormat, NumberFormat
they were incorrectly producing a Collator
2015-05-27 18:25:01 +01:00
Ron Buckton
2391666435 Updated declaration and symbol baselines 2015-05-08 17:07:48 -07:00
Jason Freeman
a14ec69316 Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators 2015-05-08 15:33:18 -07:00
Ron Buckton
1718ff2915 Merge branch 'master' into asyncFunctions 2015-05-07 18:06:11 -07:00
Jason Freeman
498f315256 Fix typing for Promises so that a void error callback doesn't mess up inference 2015-05-06 15:53:01 -07:00
Ron Buckton
d19a200750 Added types, scan, parse, and check for async functions 2015-05-05 17:57:21 -07:00
Jason Freeman
ce9dc32704 Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-05-05 14:11:09 -07:00
Zhengbo Li
2a098cd36c Add missing overload to XMLHttpRequest.send
Fix issue #3002
2015-05-05 10:23:51 -07:00
Jason Freeman
5fcc4e9a49 Remove Generator interface from ES6 lib. We may need to add a better typing later 2015-05-04 16:44:26 -07:00
Ron Buckton
b6f76fd05b Updated type name 2015-05-01 17:02:43 -07:00
Ron Buckton
22515d452d Updated ES6 declarations for Promise, updated baselines 2015-05-01 17:02:39 -07:00
Zhengbo Li
69a76a3b66 cf feedback 2015-05-01 12:25:30 -07:00
Zhengbo Li
79da6a5ee8 Fix issue #2984 2015-05-01 11:33:53 -07:00
Zhengbo Li
125a7b9982 Added missing createEvent overloads 2015-04-30 14:24:17 -07:00
Mohamed Hegazy
31fe7c4a66 Fix #2953: Put DataView definition back into lib.d.ts 2015-04-29 12:11:06 -07:00
Mohamed Hegazy
f96dbd151c Fix #2837: remove (y, x) from the comment 2015-04-23 09:37:20 -07:00
Jason Freeman
2a2ef28fc6 Undo the change to return 2015-04-22 13:38:30 -07:00
Jason Freeman
4dc9da255f Fix Iterator type in es6.d.ts 2015-04-22 13:23:52 -07:00
Zhengbo Li
609be7628b Fix dom type "ArrayBufferView"
The dom type "ArrayBufferView" was emitteed as "any" because of a script
bug.
2015-04-18 00:12:27 -07:00
Zhengbo Li
b22e0e9dff Merge pull request #2739 from zhengbli/SortOriginalDomThenUpdate
Updated dom related reference files according to new IE spec
2015-04-16 20:16:29 -07:00
Zhengbo Li
23f86db75c Changed the type for TypeTrack.Mode 2015-04-16 19:48:18 -07:00
Zhengbo Li
e763b43783 Updated overloads that only differ in return type 2015-04-16 19:45:21 -07:00
Zhengbo Li
7770fbbba4 Removed properties of es6 only types from extensions.d.ts 2015-04-16 12:04:19 -07:00
Zhengbo Li
2aa5a5b831 Updated the interface definitions in extensions
Replaced the interfaces using the ones in es.d.ts
2015-04-16 10:50:56 -07:00
Zhengbo Li
428a6e931f Update according to comments
Added document string; changed back some method param types of interface Console from 'any' to 'string'; Removed static members from interface instance definition; Sorted overloads of 'addEventListener's by event name; Removed unnecessary declaration of the 'addEventListener' method in some interfaces; For method overloads, moved the most generic ones to the last; Removed named-constructors and dictionary interfaces from webworkers.generated.d.ts (including Audio, Image etc); Made all string overloads of 'getElementsByTagName' lower case for consistency.
2015-04-14 19:45:00 -07:00
Zev Spitz
9ec046bf9c Formatting 2015-04-13 22:20:37 +03:00
Zev Spitz
77afd9468c More newlines 2015-04-13 21:41:01 +03:00
Zev Spitz
b7bcdde18c Fixed jsDoc, wrapping, newlines 2015-04-13 21:35:59 +03:00
Zev Spitz
522c71a752 Ebynerator, VBArray 2015-04-13 16:23:31 +03:00
Zhengbo Li
1dacb54fbd Updated dom files and removed some IE only types
Updated the dom files according to new IE spec. Remove part of the IE
only types in "extensions.d.ts" that are not used in the new spec.
2015-04-12 18:14:58 -07:00
Zhengbo Li
d248387ade sort the old dom files 2015-04-09 15:46:06 -07:00
Daniel Rosenwasser
33028d5199 Replace uses of 'Symbol.isRegExp' with 'Symbol.toPrimitive'. 2015-04-09 14:06:57 -07:00
Daniel Rosenwasser
f75c9a6624 Added 'flags' to RegExp.prototype. 2015-04-09 12:52:31 -07:00
Daniel Rosenwasser
d3dd48f07b Remove 'isRegExp'. 2015-04-09 12:35:11 -07:00
Ron Buckton
e195d89fad Merge pull request #2589 from Microsoft/decorators_types
Experimental support for decorator type metadata. 
NOTE: Requires a polyfill for `Reflect.metadata` which has not yet been considered by TC39 for ES7.
2015-04-06 12:50:18 -07:00