Commit Graph
96 Commits
Author SHA1 Message Date
Mohamed Hegazy 1a520386bb Define Array.isArray using a type predicate 2015-06-12 09:32:15 -07:00
SaschaNaz cc85807103 adding iterators to DOM interfaces 2015-06-05 20:54:22 +09: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
Jason Freeman a14ec69316 Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators 2015-05-08 15:33:18 -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
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
Ron Buckton 9dfb724536 Fix for #2249 2015-04-06 10:52:31 -07:00
Ron Buckton 2b78424fd4 Updated baselines 2015-04-01 12:58:32 -07:00
Zev Spitz 7890a6894c Nre TextStreamWriter interface with JSDoc and additional members (ITextWriter is being used by the compiler and cannot be safely modified).. 2015-03-31 16:56:30 +03:00
Zev Spitz b06e19bee8 Missing ; 2015-03-31 14:43:10 +03:00
Zev Spitz 41547dc2f2 JSDoc for WScript members 2015-03-31 14:09:43 +03:00
Zev Spitz d53e0c2ac2 Added properties/methods for WScript - https://msdn.microsoft.com/en-us/library/2795740w(v=vs.84).aspx
per #2540
2015-03-31 12:59:50 +03:00
Zev Spitz 4d0aa589f2 Allows extending ActiveXObject with with specialized overloads returning string types, per https://github.com/Microsoft/TypeScript/issues/2541. 2015-03-31 04:34:55 +03:00
Ron Buckton e6ccaf0329 Updated typecheck for property, method, and parameter decorators 2015-03-24 14:27:36 -07:00
Ron Buckton 6633349b72 Simplified grammar check for decorators. 2015-03-20 17:42:27 -07:00
Ron Buckton 0fb624a58b PR feedback 2015-03-19 22:57:03 -07:00
Ron Buckton 39001f5395 Checker updates for decorators 2015-03-17 14:17:37 -07:00