Commit Graph

35940 Commits

Author SHA1 Message Date
Sheetal Nandi 4f6f713e8d Merge pull request #28287 from ajafff/cleanup-internal
remove some useless internal comments
2018-11-01 10:28:36 -07:00
Klaus Meinhardt a0767437f6 remove some useless internal comments 2018-11-01 17:48:52 +01:00
Ryan Clarke 2dc3c8e49f Refactor convert to unknown codefix 2018-11-01 07:46:15 -04:00
Ryan Clarke 4598943ed3 Add codefix for 'convert to unknown' diagnostic
Codefix for diagnostic error 2352: "Conversion of type '{0}' to type '{1}' may be
a mistake because neither type sufficiently overlaps with the other. If this was
intentional, convert the expression to 'unknown' first."

Add codefix for both AsExpressions and TypeAssertions
2018-11-01 06:13:25 -04:00
Sheetal Nandi 121a350c5d Instead of adding lib files, avoid creating diagnostics producing checker for container projects 2018-10-31 19:55:58 -07:00
Sheetal Nandi c780186a92 Merge pull request #28266 from Microsoft/fixProjectLoadingFinishEvent
Fix incorrectly passed event name for ProjectLoadingFinish event
2018-10-31 18:13:56 -07:00
Sheetal Nandi 0544b7745d Merge pull request #28273 from Microsoft/buildSourceMapNavigation
Fix source map decoding to handle case sensitivity and --out option
2018-10-31 18:13:05 -07:00
Sheetal Nandi 72aec56fe8 Use mapDefined and combine event name inputs 2018-10-31 15:57:32 -07:00
Wesley Wigham a4a1bed88b Add showConfig tsc flag for debugging configs (#27353)
* Add showConfig tsc flag for debugging configs

* Merge showConfig implementation with init implementation, add basic unit tests

* Fix lint

* Add missing semicolon

* showConfig when theres no config file
2018-10-31 15:57:09 -07:00
Sheetal Nandi 851f739c82 Dont ignore libs since that could result in unexpected error 2018-10-31 15:50:22 -07:00
Sheetal Nandi 9f844c4b08 Test to verify that file with --out and case mismatch works with source map 2018-10-31 15:39:31 -07:00
Sheetal Nandi efe5dd6b6d Handle case sensitivity correctly in source map decoder 2018-10-31 15:14:08 -07:00
Sheetal Nandi a373029f54 Public API 2018-10-31 15:11:54 -07:00
Sheetal Nandi 78174657e7 Do not add source files to container only project 2018-10-31 15:03:42 -07:00
AnyhowStep e3ee7ae997 Update baselines 2018-10-31 17:29:03 -04:00
Wesley Wigham 3a2f7c0df1 Allow intersections of readonlys to be assignable to a readonly intersection (#28218)
* Allow intersections of readonlys to be assignable to a readonly intersection

* Add real motivating react example to test suite
2018-10-31 14:09:12 -07:00
AnyhowStep 01e71820fc Fixes Microsoft/TypeScript#6955 2018-10-31 17:00:24 -04:00
Sheetal Nandi 677f04b165 Test to verify project loading events with default event handler 2018-10-31 13:37:00 -07:00
Wesley Wigham 0ef844ff2b Avoid this-instantiation if not necessary for relationship (#28263) 2018-10-31 13:21:35 -07:00
Sheetal Nandi f7189e17f4 Some reorg in creating sessions for testing 2018-10-31 13:05:12 -07:00
Sheetal Nandi 878b7a21ce Fix incorrect event 2018-10-31 13:05:00 -07:00
Anders Hejlsberg 8e4b90da00 Merge pull request #28234 from Microsoft/genericSpread
Generic spread expressions in object literals
2018-10-31 12:52:16 -07:00
Leon Aves 09d5aa698a Fix broken twitter link in README
Was using old hashbang style URL.
2018-10-31 18:05:43 +00:00
TypeScript Bot 6fd6a04f2e Update user baselines (#28249) 2018-10-31 07:25:43 -07:00
bigaru 6b80047a05 Merge pull request #19 from D0nGiovanni/d-lambda-to-fn
lambda to fn
2018-10-31 14:33:54 +01:00
Giovanni Heilmann 8bc7f43665 Make conditions more expressive 2018-10-31 14:27:36 +01:00
BigAru 1c74d0eef4 rename testcases 2018-10-31 14:27:36 +01:00
BigAru 0fa2fadeca add newline 2018-10-31 14:27:36 +01:00
BigAru d97e07360c apply feedback from pr 2018-10-31 14:27:36 +01:00
BigAru 595131868f add testcase and apply feedback from pr 2018-10-31 14:27:36 +01:00
BigAru 649b53c8de apply feedback from pr 2018-10-31 14:27:36 +01:00
BigAru 3e7dcad726 make guideline compliant 2018-10-31 14:27:36 +01:00
BigAru 6bd26cd2e5 extract creation of funcDeclaration 2018-10-31 14:27:36 +01:00
BigAru a9cb623795 extract creation of block 2018-10-31 14:27:36 +01:00
BigAru 39c3928e5d refactor small progress 2018-10-31 14:27:36 +01:00
BigAru 6922f6c4ca refactor getInfo getAvailableActions 2018-10-31 14:27:36 +01:00
BigAru 152e362175 adapt one test case 2018-10-31 14:27:36 +01:00
BigAru 7c78cd5c6f fix for tslint error 2018-10-31 14:27:36 +01:00
BigAru c25726e764 add tests for modifiers 2018-10-31 14:27:36 +01:00
BigAru 62b9fccb98 fix bug modifiers by toNamed 2018-10-31 14:27:36 +01:00
BigAru d771865894 add tests for ReturnType and available Arrow as FnParam 2018-10-31 14:27:36 +01:00
BigAru 05c44f123e add tests for ToNamed and available anon 2018-10-31 14:27:36 +01:00
BigAru cc07d68210 add tests for ToAnon, ToArrow and available arrow 2018-10-31 14:27:36 +01:00
BigAru e697856a7d change refactor name 2018-10-31 14:27:36 +01:00
BigAru 367f47e755 fix multi decl bug 2018-10-31 14:27:36 +01:00
BigAru 4c80de9078 add multi vardecl 2018-10-31 14:27:36 +01:00
BigAru f558f2f6cd add working getEditsForAction 2018-10-31 14:27:36 +01:00
BigAru 6cfbee7f30 add getAvailableActions 2018-10-31 14:27:36 +01:00
BigAru 8cb019d793 add skeleton 2018-10-31 14:27:36 +01:00
Andy dce6668070 Change pathCompletions to stringCompletions, move more code there (#28245) 2018-10-30 22:01:31 -07:00