Commit Graph

7956 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
aceadeb04b Update baselines 2017-05-04 16:13:32 -07:00
Sheetal Nandi
96aca4c7d0 Merge pull request #13540 from Microsoft/metadataReferences
Mark as referenced aliases in Union that will get emitted as part of decorator metadata
2017-05-04 15:04:13 -07:00
Andy
7fe1aba82a Merge pull request #15557 from Microsoft/unused-type-parameter
Mark type arguments as used even if used in an invalid way
2017-05-04 14:15:16 -07:00
Ron Buckton
500dd16bc1 Merge pull request #15590 from Microsoft/fix15471
Add check for tslib __await helper
2017-05-04 13:59:54 -07:00
Ron Buckton
6f357e5a6c Update baselines 2017-05-04 13:33:28 -07:00
Ron Buckton
cbeb11eabf Add check for tslib __await helper 2017-05-04 13:13:10 -07:00
Nathan Shively-Sanders
d2bdfbbf0a Merge pull request #15586 from Microsoft/fix-index-constraint-check-for-js-class-exprs
Add Javascript declarations to index constraint check error reporting
2017-05-04 12:55:55 -07:00
Mohamed Hegazy
d9b459bc3d Merge pull request #15490 from SaschaNaz/allowArguments
Allow use of "arguments" on ambient context
2017-05-04 12:27:17 -07:00
Ron Buckton
e642691526 Merge pull request #15521 from Microsoft/fix15471
Fix over agressive async delegation
2017-05-04 11:30:26 -07:00
Nathan Shively-Sanders
3e85ac0627 Test:index constraint check on js class expression 2017-05-04 10:12:49 -07:00
Kanchalai Tanglertsampan
b1cfee2070 Add tests and baselines 2017-05-03 15:15:51 -07:00
Yui T
f3a3198bec Add tests and update baselines 2017-05-03 13:42:48 -07:00
Yui T
6d4f83f1b2 Update baseline 2017-05-03 13:42:43 -07:00
Andy Hanson
ac7429535e Mark type arguments as used even if used in an invalid way 2017-05-03 09:10:49 -07:00
Ron Buckton
729c1e19ab __asyncDelegator cleanup 2017-05-02 15:00:56 -07:00
Ron Buckton
f2b7606b12 Switch to __await sentinel, better support for return values 2017-05-02 12:49:34 -07:00
Andy Hanson
b6bd396983 Fix formatting for async computed method: Allow space between 'async' and '[' 2017-05-02 09:42:32 -07:00
Kagami Sascha Rosylight
78ece7bfb1 direct isInAmbientContext 2017-05-02 12:02:12 +09:00
Ron Buckton
c343dd3827 Fix over agressive async delegation 2017-05-01 18:05:50 -07:00
Mohamed Hegazy
14f6bf2244 Merge pull request #15518 from vkurchatkin/empty-property
Allow indexed access to empty property
2017-05-01 16:37:02 -07:00
Ron Buckton
6cd85dbb25 Fix failing transpileModule test 2017-05-01 16:05:41 -07:00
Vladimir Kurchatkin
d45d289f36 Allow indexed access to empty property
Fixes: https://github.com/Microsoft/TypeScript/issues/15209
2017-05-02 01:39:02 +03:00
Kagami Sascha Rosylight
c1d851c7ec allow use of arguments on ambient context 2017-05-02 02:06:23 +09:00
Mohamed Hegazy
5e7778b36f Merge pull request #15491 from SaschaNaz/newformat
No space after new keyword on constructor signature
2017-05-01 09:43:12 -07:00
Andy Hanson
969da26d45 Add isWriteAccess 2017-05-01 09:03:12 -07:00
Andy Hanson
a70b79072b importTracker: Fix error for undefined importClause 2017-05-01 07:54:41 -07:00
Kagami Sascha Rosylight
61f494ec5d no space after new on constructor signatures 2017-05-01 23:11:59 +09:00
Ron Buckton
324c9bb349 Fix block-scoped enum declarations 2017-04-27 15:04:12 -07:00
Justin Bay
1f815b6367 add unit test 2017-04-25 21:12:33 -04:00
Ron Buckton
6756e3e44c Merge pull request #15379 from Microsoft/fix14945
Fix class name emit in ES5
2017-04-25 15:09:23 -07:00
Ron Buckton
1d1ebd0d70 Do not rename references to class inside of the class body function 2017-04-25 13:30:07 -07:00
Ron Buckton
21c27457a2 Fix class name emit in ES5 2017-04-25 12:44:02 -07:00
Ron Buckton
21714299d0 Fix visitEachChild for signatures 2017-04-25 11:02:54 -07:00
Nathan Shively-Sanders
c6bf6a20a9 Merge pull request #15357 from Microsoft/es2015-transform-accessors-containing-captured-this
es2015 transform covers accessors that contain captured this
2017-04-25 08:36:53 -07:00
Nathan Shively-Sanders
da5fd936e6 Merge pull request #15350 from Microsoft/improve-message-for-untyped-module
Improve message for untyped module with noImplicitAny
2017-04-24 16:13:27 -07:00
Nathan Shively-Sanders
a94198eb37 Test contextual type of object spread expressions
And update baselines.
2017-04-24 15:44:07 -07:00
Nathan Shively-Sanders
3b8cafe40e Reword message:more detail about declaration files 2017-04-24 15:19:30 -07:00
Nathan Shively-Sanders
00848fc46f Test ES2015 transform of accessors w/captured this 2017-04-24 14:48:25 -07:00
Nathan Shively-Sanders
a44b972682 Update baselines 2017-04-24 10:45:03 -07:00
Mohamed Hegazy
a0abadbcbe Merge pull request #15320 from Microsoft/fixTypePredicateThisParameter
Fix type predicates with this parameters
2017-04-24 10:44:43 -07:00
gcnew
9c2a74c26c Update tests 2017-04-23 19:14:21 +03:00
Anders Hejlsberg
85d4593033 Add regression test 2017-04-22 17:09:20 -07:00
Yui
a1a2006074 Merge pull request #15160 from Microsoft/master-jsxChildren
[Master] Type checking JSX children
2017-04-21 10:02:13 -07:00
Andy Hanson
4ff180d814 Fix null error in importTracker: VariableDeclaration might not have a VariableStatement ancestor 2017-04-21 07:55:16 -07:00
Mohamed Hegazy
24814ec387 Merge pull request #15260 from Microsoft/Fix15200
Fix #15200: Query for semantic errors on .js files with '@ts-check' with no config file
2017-04-20 13:46:52 -07:00
Yui T
b7a30c11bd Update tests and baselines 2017-04-19 22:33:54 -07:00
Yui T
e9cd3ade86 Change how we look up children attribute from react.d.ts 2017-04-19 22:33:33 -07:00
Ron Buckton
6c176138ca Fix loop block scope binding in generator 2017-04-19 17:06:12 -07:00
Ron Buckton
6793466cc5 Merge pull request #15277 from Microsoft/fixAsynxIteration
Check and emit fixes for async iteration
2017-04-19 15:14:42 -07:00
Ron Buckton
96927379f0 Emit generated name for unnamed default exported class with decorated members 2017-04-19 14:53:32 -07:00