Commit Graph
74 Commits
Author SHA1 Message Date
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
Dick van den Brink 7001562110 made seal, freeze and preventExtensions generic 2015-03-09 23:48:51 +01:00
Dick van den Brink c0db7ffe8f Added valueOf definitions for String and Number 2015-03-08 18:08:49 +01:00
Jason Freeman 7711a454dd [Symbol.iterator] of a Generator is a Generator 2015-02-23 13:53:25 -08:00
Jason Freeman 395a1e6bc7 Make IterableIterator deeply iterable 2015-02-20 17:17:56 -08:00
Jason Freeman f86f05d914 Split Iterator into Iterator and IterableIterator in es6.d.ts 2015-02-19 15:21:03 -08:00
Jason Freeman 52cb13e9d6 Uncomment symbol properties in es6.d.ts 2015-02-06 21:38:32 -08:00
Jason Freeman 59a704e7c1 Rename references in es6.d.ts from Symbol to symbol 2015-02-06 21:32:13 -08:00
Colin Snover 9e4d5dacc5 All options should be optional 2015-02-05 22:59:17 +00:00
Mohamed Hegazy 80c5acc04e Add new method on interface Boolean to ensure it is not assignable from other types 2014-12-08 11:22:52 -08:00
Mohamed Hegazy 580e23e259 Merge pull request #1358 from Arnavion/fix-missing-return-types
Fix missing return types.
2014-12-04 11:46:53 -08:00
Arnavion 4c93e47596 Fix missing return types.
Fixes #1352
2014-12-03 12:21:46 -08:00
Arnavion d7c32a421b Remove BOM from es6.d.ts
Fixes #1354
2014-12-03 12:08:29 -08:00
Mohamed Hegazy d390f67f7d add missing prototype definitions 2014-12-01 17:17:29 -08:00
Mohamed Hegazy 4e79458e69 Merge branch 'master' into es6typings
Conflicts:
	tests/baselines/reference/constDeclarationShadowedByVarDeclaration3.types
2014-12-01 16:51:10 -08:00
vvakame bf731646ec Add missing prototype properties 2014-12-01 21:32:35 +09:00
Mohamed Hegazy ebf4ed8fa9 Respond to code review comments 2014-11-20 13:25:17 -08:00
Mohamed Hegazy 4c2f5d159c Add some more jsdoc comments and ensure everything has a constructor type when possible 2014-11-17 13:06:54 -08:00
Mohamed Hegazy f33c1d524c Add ArrayBufferView definition to ES6 lib 2014-11-17 11:53:28 -08:00
Mohamed Hegazy 4413dd5084 Move the Internationalization API to its own file and include it in ES6 typings 2014-11-17 11:35:43 -08:00
Mohamed Hegazy 25ce5db7f3 Merge branch 'master' into es6Typings
Conflicts:
	src/harness/harness.ts
	src/lib/core.d.ts
2014-11-17 11:15:46 -08:00
Mohamed Hegazy 0dddfd9b6f respond to code review comment 2014-11-17 11:01:21 -08:00
Mohamed Hegazy 1986fb1a57 Respond to code review comments 2014-11-17 10:59:03 -08:00