Commit Graph

61 Commits

Author SHA1 Message Date
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
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
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
Mohamed Hegazy
2897612eee Add Promise typing support 2014-11-14 17:43:20 -08:00
Mohamed Hegazy
7d6f7ea8e9 Fix symbol constructor and update Object properties 2014-11-14 10:14:00 -08:00
Mohamed Hegazy
ded34ef3ae Add support for typed arrays 2014-11-11 15:36:06 -08:00
Mohamed Hegazy
abed6e48a4 Cleanup Proxy definition 2014-11-11 13:21:29 -08:00
Mohamed Hegazy
4257e1c168 Make Map.prototype.set second paramter optional 2014-11-11 09:57:22 -08:00
Mohamed Hegazy
20bbebc7eb Make WeakMap.prototype.set second parameter optional 2014-11-11 00:56:49 -08:00
Mohamed Hegazy
6b5d0b091c Use PropertyKey instead of string when appropriate 2014-11-10 23:54:39 -08:00
Mohamed Hegazy
6ae43f3966 Fix paramters for Math.hypot function 2014-11-10 22:59:11 -08:00
Mohamed Hegazy
f5eef432a9 Use the correct name for interface Math 2014-11-10 22:49:32 -08:00
Mohamed Hegazy
ff32be7949 Add additional property to mapfn for Array.from 2014-11-10 22:33:51 -08:00
Daniel Rosenwasser
56027663bf Initial work on overload resolution with tagged templates.
Currently type argument inference breaks hard when the first parameter of a tag has a generic type.
2014-11-04 15:05:05 -08:00
Mohamed Hegazy
4f8605baf7 Add reflect definition 2014-10-29 00:59:57 -07:00
Mohamed Hegazy
c8db066211 First draft of es6 typings 2014-10-28 23:39:24 -07:00