Nathan Shively-Sanders
8a051343ff
Merge pull request #5169 from Microsoft/fix-simple-uses-of-polymorphic-this-in-services
...
Fix simple uses of polymorphic this in services
2015-10-12 13:54:50 -07:00
Ryan Cavanaugh
c05297cfea
Merge pull request #5178 from RyanCavanaugh/fix5132
...
Escape quotes when emitting React
2015-10-12 11:56:46 -07:00
Zhengbo Li
5605c8a639
Merge pull request #5177 from zhengbli/i4684
...
Change the definition of NodeFilter in lib.d.ts
2015-10-12 11:44:26 -07:00
zhengbli
de52865243
Remove prototype from NodeFilter static type
2015-10-12 11:35:36 -07:00
Vladimir Matveev
22e68de7ec
Merge pull request #5216 from Microsoft/checkFunctionsInClassExpressions
...
check functions in class expressions
2015-10-12 11:09:21 -07:00
Vladimir Matveev
d757e5e7a2
Merge pull request #5226 from Microsoft/blockScopedExports
...
check initialization of exported block scoped variables
2015-10-12 10:32:57 -07:00
Vladimir Matveev
61c5b95f8a
Merge pull request #5217 from Microsoft/formatAsyncOpenParen
...
add rule to insert space between async keyword and open paren
2015-10-12 10:23:32 -07:00
Vladimir Matveev
ca98831674
addressed PR feedback: added tests for let declarations
2015-10-12 10:22:18 -07:00
Vladimir Matveev
adf9f9b8df
check initialization of exported block scoped variables
2015-10-12 09:59:41 -07:00
Vladimir Matveev
c35419e12e
add rule to insert space between async keyword and open paren
2015-10-11 22:19:51 -07:00
Vladimir Matveev
a0683276d1
check functions in class expressions
2015-10-11 21:57:17 -07:00
Vladimir Matveev
1b5dc0d7d1
Merge pull request #5121 from Microsoft/shorthandPropsInDestructuring
...
parse/check/emit shorthand property assignment in destructuring
2015-10-10 22:39:05 -07:00
Paul van Brenk
573652160c
Merge pull request #5197 from Microsoft/supportIndentStyle
...
Support different indentation styles
2015-10-09 16:51:39 -07:00
Daniel Rosenwasser
12b436bb2c
Merge pull request #5084 from MartyIX/patch-4
...
Compiler gives unhelpful error messages in the presence of multiple default exports
2015-10-09 14:18:18 -07:00
Martin Vseticka
69ff6f5090
Add "A module cannot have multiple default exports." message for multiple "default" exports
2015-10-09 21:37:54 +02:00
Vladimir Matveev
a556209b7e
addressed PR feedback
2015-10-09 09:55:25 -07:00
Daniel Rosenwasser
543cce5e43
Merge pull request #5191 from jbondc/typo-1
...
Typo
2015-10-09 09:32:18 -07:00
Nathan Shively-Sanders
f19a2f54ed
Fixup comments
2015-10-09 09:02:42 -07:00
jbondc
3d6398162e
Typo
2015-10-09 11:16:36 -04:00
Mohamed Hegazy
350bb1f315
Merge pull request #5167 from jbondc/const-indexed-access
...
Const enum indexed access
2015-10-08 15:39:14 -07:00
jbondc
afa08181e2
Address code review.
...
Accept baselines.
2015-10-08 17:30:46 -04:00
Anders Hejlsberg
bff9148fe0
Merge pull request #5176 from Microsoft/emitExportAssignments
...
Fix emit for `export {...}` with ES6 target and non-ES6 modules
2015-10-08 13:18:57 -07:00
Anders Hejlsberg
241220411e
Merge branch 'master' into emitExportAssignments
2015-10-08 12:02:04 -07:00
Ryan Cavanaugh
d229ae4be5
Escape quotes when emitting React
2015-10-08 11:28:18 -07:00
zhengbli
9eed58db47
Fix i4684
2015-10-08 11:23:52 -07:00
Anders Hejlsberg
cae21c09b4
Adding tests
2015-10-08 10:58:58 -07:00
Zhengbo Li
c2a589826d
Merge pull request #5159 from zhengbli/i4942
...
Change types of fillStyle and strokeStyle in CanvasRenderingContext2D
2015-10-08 10:18:50 -07:00
Anders Hejlsberg
533c4eb0c2
Emit export assignments when target is ES6 and module kind is not ES6
2015-10-08 10:18:14 -07:00
Nathan Shively-Sanders
10f9fa6da6
Fix lint: remove trailing whitespace on empty line
2015-10-08 09:30:08 -07:00
Nathan Shively-Sanders
2fb6eabc2e
Fix this.member completion+quickinfo of overloads
...
1. Completion after `this.` was empty.
2. Quick info of methods with overloads always chose the first overload,
regardless of whether an argument whose type matched a different overload.
Both have the same cause: the type parameter introduced by
polymorphic `this` is not usable, whereas the original is. In both cases,
the usage is simple -- it doesn't take advantage of the capabilities of
polymorphic `this`.
2015-10-08 08:11:33 -07:00
jbondc
82eb992dc4
Accept baselines.
2015-10-08 08:21:28 -04:00
jbondc
8960f523ea
Resolve const enum value in index access.
2015-10-08 07:57:35 -04:00
Vladimir Matveev
0d95d0405c
Merge pull request #5153 from Microsoft/transpileTsx
...
transpile text as tsx if jsx option is specified
2015-10-07 16:33:22 -07:00
Vladimir Matveev
fb1d2cf42c
address PR feedback
2015-10-07 15:48:53 -07:00
zhengbli
7175e5d1ae
fix issue 4942
2015-10-07 14:32:17 -07:00
Vladimir Matveev
75af4f70b6
transpile text as tsx if jsx option is specified
2015-10-07 10:37:28 -07:00
Ron Buckton
738b26f065
Merge pull request #5145 from Microsoft/fixAsyncTypeChecks
...
Fixes some checker errors regarding async functions. Fixes #5115 .
2015-10-06 16:57:19 -07:00
Ron Buckton
703af074ff
Fixes some checker errors regarding async functions. Fixes #5115 .
2015-10-06 16:44:48 -07:00
Ron Buckton
4d3c74fd80
Merge pull request #5137 from Microsoft/fixExportDefaultClassStatics
...
Fix emit for ES6 export default class with static initializers.
2015-10-06 15:55:45 -07:00
Ron Buckton
f52b7cc2c5
Removed unnecessary check
2015-10-06 15:41:47 -07:00
Vladimir Matveev
4795acf694
Merge pull request #5139 from Microsoft/getBlockScopedVariableIdIsNoMore
...
[cleanup] remove unused function from the EmitResolver
2015-10-06 14:16:13 -07:00
Vladimir Matveev
1b909d80e5
remove unused function from the EmitResolver
2015-10-06 12:51:24 -07:00
Ron Buckton
ab73b4f103
Fix linter warnings.
2015-10-06 12:37:10 -07:00
Mohamed Hegazy
709274dbf2
Merge pull request #4724 from denvned/patch-1
...
Account for path options when pointing to the current working directory
2015-10-06 12:32:11 -07:00
Ron Buckton
64b6c9f52e
Fix emit for ES6 export default class with static initializers. Fixes #5136 .
2015-10-06 12:02:55 -07:00
Zhengbo Li
e7c2003164
Merge pull request #5041 from zhengbli/RemoveMsInternalsFromLib
...
Remove Microsoft specific types from lib.d.ts
2015-10-06 10:36:48 -07:00
Nathan Shively-Sanders
78ad0f4c82
Re-enable failing fourslash tests
2015-10-06 10:03:27 -07:00
Ryan Cavanaugh
d7eaa12aad
Merge pull request #5126 from RyanCavanaugh/noLibSymbolLines
...
Don't show lib.d.ts line numbers in symbol baselines
2015-10-06 10:00:26 -07:00
Ryan Cavanaugh
7280509058
Don't show lib.d.ts line numbers in symbol baselines
2015-10-05 16:37:45 -07:00
Mohamed Hegazy
53cff210fd
Merge pull request #5103 from SaschaNaz/formatStringTemplates
...
Format template internal spaces
2015-10-05 16:01:10 -07:00