Commit Graph

5903 Commits

Author SHA1 Message Date
zhengbli
9353a60cff Readd className to SVGStylable for compatibility 2015-07-09 16:09:50 -07:00
Jason Freeman
9d6dc36e51 Merge pull request #3798 from Microsoft/typeArgumentInferenceClassExpressions
Type argument inference for class expressions
2015-07-09 14:56:49 -07:00
Zhengbo Li
6c4dc2815a Merge pull request #3776 from zhengbli/ms_issue2838
Fix the definition of interface ErrorEventHandler
2015-07-09 14:49:02 -07:00
Zhengbo Li
a3554a5078 Merge pull request #3773 from zhengbli/ms_issue3753
Add window.URL
2015-07-09 14:47:36 -07:00
Zhengbo Li
7fb0d4fb9d Merge pull request #3774 from zhengbli/ms_issue3613
Change the return types of several well-known functions to NodeListOf<Element>
2015-07-09 14:47:29 -07:00
Zhengbo Li
9f0fd3860f Merge pull request #3775 from zhengbli/ms_issue3220
Move className and id from HTMLElement to Element
2015-07-09 14:47:22 -07:00
Zhengbo Li
ea25ac4cb8 Merge pull request #3777 from zhengbli/ms_issue1074
Fix FormData constructor
2015-07-09 14:47:06 -07:00
Vladimir Matveev
e15c700549 clean old program to prevent it from being captured into the closure 2015-07-09 14:45:39 -07:00
zhengbli
b2ce6db229 Add API for project level GetErr 2015-07-09 14:45:39 -07:00
Dan Quirk
27f5bf10de CR feedback 2015-07-09 14:44:47 -07:00
Vladimir Matveev
6a502cdacc Merge remote-tracking branch 'origin/master' into reuseProgramStructure 2015-07-09 14:40:54 -07:00
Vladimir Matveev
2685d409d5 addressed PR feedback 2015-07-09 14:40:33 -07:00
Mohamed Hegazy
e336701ba8 Merge pull request #3763 from tinganho/typePredicateDeclEmit
Fixes emit of type predicate in declaration files
2015-07-09 12:34:43 -07:00
Tingan Ho
4e644e5ab8 Fixes spacing issue 2015-07-10 03:27:31 +08:00
Jason Freeman
f37fc1d42e Infer types to statics in a class expression 2015-07-09 11:31:08 -07:00
shyyko.serhiy@gmail.com
43307edd4a fixed issue https://github.com/Microsoft/TypeScript/issues/3486 2015-07-09 20:27:05 +03:00
shyyko.serhiy@gmail.com
30888da8fa fixed indent issues 2015-07-09 13:12:50 +03:00
Tingan Ho
28976a0e34 Adds type predicate signature display and addresses CR feedback 2015-07-09 12:10:39 +08:00
Tingan Ho
951084fc85 Fixes emit of type predicated in delcaration files 2015-07-09 12:08:14 +08:00
Ryan Cavanaugh
43febe50ab Merge pull request #3789 from tinganho/formatFourslash
Fixes fourslash code formatting
2015-07-08 20:25:22 -07:00
Tingan Ho
98e6db4798 Fixes fourslash code formatting 2015-07-09 11:16:36 +08:00
Anders Hejlsberg
cd0d3babe9 Object literals can only have properties that exist in contextual type 2015-07-08 19:04:58 -07:00
Dan Quirk
5dfa6104f9 Turn off a few rules and more cleanup post merge 2015-07-08 17:42:26 -07:00
Jason Freeman
a660d7bbea Add hopefully helpful comments 2015-07-08 17:15:05 -07:00
Jason Freeman
d25bceaf87 Don't bother doing inference from the function parameter if you are about to fix the type parameter 2015-07-08 16:58:03 -07:00
Dan Quirk
be1371d3cd Merge master 2015-07-08 15:35:49 -07:00
Jason Freeman
544b1772c3 Fix type parameters every time a parameter is assigned a contextual type 2015-07-08 14:50:36 -07:00
Yui
42bff6bc77 Merge pull request #3772 from Microsoft/allowModifier
Allow modifier on class member for classDeclaration/classExpression inside function
2015-07-08 14:34:41 -07:00
Yui T
8e15a42632 Address code review 2015-07-08 13:56:27 -07:00
CyrusNajmabadi
aaf0f78553 Merge pull request #3778 from Microsoft/noPushApply
Don't call push.apply, it can stack overflow with large arrays.
2015-07-08 11:25:48 -07:00
shyyko.serhiy@gmail.com
1855a07580 Fix issue https://github.com/Microsoft/TypeScript/issues/3277 2015-07-08 13:26:44 +03:00
Cyrus Najmabadi
e0e9bcff46 Don't call push.apply, it can stack overflow with large arrays. 2015-07-07 17:44:22 -07:00
Zhengbo Li
869de7391e Fix FormData constructor 2015-07-07 17:19:34 -07:00
Zhengbo Li
90779a9d87 Fix the definition of interface ErrorEventHandler 2015-07-07 17:13:52 -07:00
Zhengbo Li
91a138e395 Move className and id from HTMLElement to Element 2015-07-07 16:49:00 -07:00
Yui T
cdc999a6c5 Only check if method declaration has modifier when method is declared in object literal expression 2015-07-07 16:26:48 -07:00
Ryan Cavanaugh
8f3bce121d Actually fix the bug this time. 2015-07-07 16:22:04 -07:00
Ryan Cavanaugh
24d22da804 Merge remote-tracking branch 'upstream/master' into fix3737 2015-07-07 15:36:13 -07:00
Yui T
b5b1b7b5bb Use symbol.getName for classExpression and functionExpression since it now correctly represent declared-name. 2015-07-07 15:26:01 -07:00
Yui T
872fdcf444 Merge branch 'master' into completionListWithLocalName
Conflicts:
	tests/cases/fourslash/renameLocationsForClassExpression01.ts
2015-07-07 15:17:42 -07:00
Daniel Rosenwasser
003c3a0641 Merge branch 'master' into semanticBindingPropNames 2015-07-07 14:48:30 -07:00
Daniel Rosenwasser
8cdd59f7be Merge pull request #3727 from Microsoft/elipsisMeansQuiet
Don't give back completions after stray dots
2015-07-07 14:45:59 -07:00
Daniel Rosenwasser
f2731e4033 Merge pull request #3757 from Microsoft/noImportClauseBuilders
Don't show builders in import clauses
2015-07-07 14:45:39 -07:00
Zhengbo Li
33df79d11e Correct "NodeList" to "NodeListOf" 2015-07-07 14:40:08 -07:00
Ryan Cavanaugh
719498eb0f Merge pull request #3770 from RyanCavanaugh/fix3764
Fix #3764
2015-07-07 14:38:26 -07:00
Ryan Cavanaugh
3ccaa0ee26 Cleanup 2015-07-07 14:33:59 -07:00
Zhengbo Li
70c4f08b10 Changed the return type of several well-known functions to NodeList<Element> 2015-07-07 14:30:38 -07:00
Ryan Cavanaugh
99fc99f3bc Improved fix from @JsonFreeman 2015-07-07 14:27:57 -07:00
Zhengbo Li
d6dc67d38f Add window.URL 2015-07-07 14:11:18 -07:00
Yui
42168e39ec Merge pull request #3769 from Microsoft/bindingAnonymouseWithName
Binding anonymous with name for functionExpression and classExpression
2015-07-07 13:28:38 -07:00