Commit Graph

5833 Commits

Author SHA1 Message Date
Sheetal Nandi
d7e9609ae5 Merge branch 'master' into ownJsonParsing 2017-05-11 09:10:35 -07:00
Andy
25796f0432 Merge pull request #15677 from Microsoft/find-all-refs-mapped-type
findAllReferences: Don't need to check for `symbol.declarations`
2017-05-09 12:21:40 -07:00
Nathan Shively-Sanders
370b5618a0 Merge branch 'master' into spelling-correction 2017-05-09 10:01:03 -07:00
Yui
cb723cf1dc Merge pull request #15678 from Microsoft/master_allowSpreadGenericType
[Master] Allow spread generic type
2017-05-08 15:57:11 -07:00
Yui T
36ef849209 Update baaselines 2017-05-08 15:35:17 -07:00
Andy Hanson
73a944711f Remove checks for symbol.declarations 2017-05-08 13:51:08 -07:00
Nathan Shively-Sanders
a72a9aa5d5 Merge pull request #15669 from Microsoft/simplify-js-check-in-index-constraint-errors
Simplify js check in index constraint errors
2017-05-08 13:36:54 -07:00
Kanchalai Tanglertsampan
d17450bbbd Update tests and baselines 2017-05-08 13:35:09 -07:00
Andy Hanson
eb9d4c0586 findAllReferences: Given a synthetic property, find references for the original property. 2017-05-08 13:25:12 -07:00
Andy
abb2b828b8 Merge pull request #15668 from Microsoft/completions-keyof
In addStringLiteralCompletionsFromType, use getBaseConstraintOfType instead of getApparentType
2017-05-08 11:52:39 -07:00
Nathan Shively-Sanders
2e9143aaf0 Clean up test a little 2017-05-08 11:36:30 -07:00
Yui
1b520fce3e Merge pull request #15595 from Microsoft/master-fix15463
[Master] fix 15463
2017-05-08 11:06:48 -07:00
Nathan Shively-Sanders
5ad2ced0c3 Update test with trickier case from #15616 2017-05-08 11:03:41 -07:00
Andy Hanson
9e03d42fda In addStringLiteralCompletionsFromType, use getBaseConstraintOfType instead of getApparentType 2017-05-08 10:33:48 -07:00
Anders Hejlsberg
c39a683504 Merge pull request #15576 from Microsoft/typeVariableTypeGuards
Improve type guards for type variables
2017-05-07 10:52:29 -07:00
Ron Buckton
ada4b3d4d8 Fix var emit order for converted loops 2017-05-05 17:38:23 -07:00
Yui T
d94d490647 Updates tests and baselines 2017-05-05 10:05:50 -07:00
Yui T
5b972b44ff Add tests and baselines 2017-05-05 08:47:52 -07:00
Andy
1511c2eda7 Merge pull request #15593 from Microsoft/jsdoctagnames
Deduplicate jsDocTagNames and sort alphabetically
2017-05-05 07:24:12 -07:00
Kanchalai Tanglertsampan
d103504ba6 Update tests anad baselines 2017-05-04 17:12:52 -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 Hanson
705774e707 Remove tests that depended on exact number of jsdoc tag names 2017-05-04 14:38:06 -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
cbeb11eabf Add check for tslib __await helper 2017-05-04 13:13:10 -07:00
Anders Hejlsberg
a6dfd66fc1 Update tests 2017-05-04 10:20:13 -07:00
Nathan Shively-Sanders
3e85ac0627 Test:index constraint check on js class expression 2017-05-04 10:12:49 -07:00
Anders Hejlsberg
238067eb3b Add tests 2017-05-03 21:28:17 -07:00
Nathan Shively-Sanders
9eaf40bded Merge branch 'master' into spelling-correction 2017-05-03 15:34:32 -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
Nathan Shively-Sanders
4877343538 Reduce max number of spelling suggestions to 10 2017-05-03 10:10:13 -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
Andy Hanson
b6bd396983 Fix formatting for async computed method: Allow space between 'async' and '[' 2017-05-02 09:42:32 -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
Nathan Shively-Sanders
ca7d7f5946 Only 100 spelling corrections for unknown symbols
If your compilation has more than 100 unknown symbols, the problem is
missing declarations, not typos.
2017-05-01 12:58:42 -07:00
Nathan Shively-Sanders
2479c071f9 Update baselines 2017-05-01 11:42:22 -07: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
1d1ebd0d70 Do not rename references to class inside of the class body function 2017-04-25 13:30:07 -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
a94198eb37 Test contextual type of object spread expressions
And update baselines.
2017-04-24 15:44:07 -07:00
Nathan Shively-Sanders
00848fc46f Test ES2015 transform of accessors w/captured this 2017-04-24 14:48:25 -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