Commit Graph

1948 Commits

Author SHA1 Message Date
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 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
Andy Hanson
eb9d4c0586 findAllReferences: Given a synthetic property, find references for the original property. 2017-05-08 13:25:12 -07:00
Andy Hanson
9e03d42fda In addStringLiteralCompletionsFromType, use getBaseConstraintOfType instead of getApparentType 2017-05-08 10:33:48 -07:00
Andy Hanson
705774e707 Remove tests that depended on exact number of jsdoc tag names 2017-05-04 14:38:06 -07:00
Nathan Shively-Sanders
9eaf40bded Merge branch 'master' into spelling-correction 2017-05-03 15:34:32 -07:00
Andy Hanson
b6bd396983 Fix formatting for async computed method: Allow space between 'async' and '[' 2017-05-02 09:42:32 -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
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
Yui T
b7a30c11bd Update tests and baselines 2017-04-19 22:33:54 -07:00
Kanchalai Tanglertsampan
f6f0813528 Merge branch 'master' into master-jsxChildren
# Conflicts:
#	src/compiler/checker.ts
#	src/compiler/diagnosticMessages.json
2017-04-17 13:31:12 -07:00
Kanchalai Tanglertsampan
9a23b75f05 Update baselines and tests (2) 2017-04-17 13:00:38 -07:00
Andy
72feaad893 Merge pull request #14001 from Microsoft/refactor_findallrefs
Refactor findAllReferences. Now supports renamed exports and imports.
2017-04-14 09:57:54 -07:00
Mohamed Hegazy
ccda015578 Fix failing fourslash test 2017-04-14 09:38:53 -07:00
Nathan Shively-Sanders
11f715c724 Merge pull request #15036 from Microsoft/remove-readonly-from-spread-properties
Remove readonly from spread properties
2017-04-12 16:32:16 -07:00
Kanchalai Tanglertsampan
f0990460a6 Add tests 2017-04-12 12:17:27 -07:00
Nathan Shively-Sanders
0ffe24c64b Expand spread property find-all-ref test 2017-04-12 11:47:23 -07:00
Nathan Shively-Sanders
28cdaf24e9 Address PR:fix find-all-refs and slim down code
Also add readonly to find-all-ref test
2017-04-12 11:31:52 -07:00
Andy Hanson
c7d51a3053 Merge branch 'master' into refactor_findallrefs 2017-04-12 11:27:58 -07:00
Nathan Shively-Sanders
3029b8fe38 Merge pull request #14935 from Microsoft/allow-extending-from-any
Allow extending from any
2017-04-06 09:18:01 -07:00
Nathan Shively-Sanders
90d5c299b0 Remove special symbol for untyped modules
Extending symbols from untyped modules is no longer an error, so #12532
didn't get us anything except slightly better quick info.
2017-04-05 16:01:04 -07:00
Yui
dd48dd1b66 Merge pull request #14916 from Microsoft/master-addressPR14692
[Master] Address code review of PR 14692
2017-04-04 08:28:33 -07:00
Mine Starks
9c9b659f44 Merge pull request #14960 from minestarks/master
Expose JSDoc tags through the language service
2017-04-03 11:29:38 -07:00
Andy Hanson
131555fdca Support backticks in require calls 2017-04-03 08:53:49 -07:00
Mine Starks
af0b2d9768 Merge pull request #12856 from minestarks/includejsdoctags
Expose JSDoc tags through the language service
2017-03-31 17:58:41 -07:00
rbuckton
e06b3ecbca Added additional test verification 2017-03-30 13:02:39 -07:00
rbuckton
ea2aa0c079 Infer a rest parameter for javascript function that uses 'arguments' 2017-03-29 18:13:19 -07:00
Kanchalai Tanglertsampan
7a66161790 Address code review of PR 14692 2017-03-29 13:57:51 -07:00
Yui
0cb490e2c2 Merge pull request #14692 from Microsoft/master-fixResolveEntityName
[Master] Fix resolve entity name to not dive inside property access expression when the expression is not entity name
2017-03-29 09:55:36 -07:00
Hendrik Liebau
3e81f08107 add single-line object destructuring test case 2017-03-29 09:52:52 +02:00
Hendrik Liebau
40cd0b8dd3 add formatting tests for multi-line object destructuring
with insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces === false
2017-03-28 18:20:33 +02:00
Mohamed Hegazy
0637f241b7 Merge remote-tracking branch 'origin/master' into checkJSFiles 2017-03-27 21:23:07 -07:00
Andy Hanson
28a3604714 Fix #14346 2017-03-27 14:17:27 -07:00
Arthur Ozga
7340c4ca1e type predicate support 2017-03-27 11:53:44 -07:00
Andy Hanson
cf6c24cd02 Respond to minor PR comments 2017-03-27 11:46:38 -07:00
Arthur Ozga
fb4e3d87bd essymbol and object 2017-03-26 22:45:13 -07:00
Arthur Ozga
a7c166c4a5 optional signature 2017-03-24 12:56:54 -07:00
Mohamed Hegazy
db6c96967c Change ingore diagonstic comment to // @ts-ignore 2017-03-22 16:23:21 -07:00
Mohamed Hegazy
e408cad618 Merge branch 'master' into checkJSFiles 2017-03-22 15:45:27 -07:00
Arthur Ozga
43e01f282b remove trivia 2017-03-22 14:50:01 -07:00
Arthur Ozga
2958649a95 Enum and enum literal 2017-03-22 14:34:14 -07:00
Arthur Ozga
5b739cf78c respond to comments 2017-03-21 22:54:06 -07:00
Arthur Ozga
ac7fc8fe75 Handle TODO's 2017-03-17 11:54:51 -07:00