Commit Graph

  • b5d882ebd6 Merge pull request #24262 from armanio123/FixObjectLiteralExpression Armando Aguirre 2018-05-22 12:39:14 -07:00
  • 4f25e83e7a Update baselines Mohamed Hegazy 2018-05-22 12:32:52 -07:00
  • 1318c933da Merge branch 'master' into MergeMaster5-22-2 Mohamed Hegazy 2018-05-22 12:21:45 -07:00
  • 46eaf62abb getEditsForFileRename: Handle old file still being present Andy Hanson 2018-05-22 12:20:34 -07:00
  • f44dd6f53b Merge pull request #24206 from Microsoft/documentRegistery Sheetal Nandi 2018-05-22 12:11:16 -07:00
  • e8a0e56e3e Add a test when orphan file changes before it gets added back to project Sheetal Nandi 2018-05-22 11:45:52 -07:00
  • bedc110c74 Merge pull request #24311 from amcasey/GH23287 Andrew Casey 2018-05-22 11:23:15 -07:00
  • 66590a9391 Verify ref counts are set correctly when reusing the source file from script info cache Sheetal Nandi 2018-05-22 11:18:40 -07:00
  • 7106a587cc Add type for diagnostics where location is defined (#23686) Andy 2018-05-22 11:01:18 -07:00
  • 7fb3123984 Merge pull request #24298 from Microsoft/noErrOnBackgroundUpdate Mohamed Hegazy 2018-05-22 10:56:18 -07:00
  • 2e0cc63067 Check TransformFlags.ContainsJsx, rather than LanguageVariant.JSX Andrew Casey 2018-05-22 10:51:19 -07:00
  • a5029e3d4e Merge pull request #23794 from Microsoft/fixDiscriminatedContextualType Anders Hejlsberg 2018-05-22 10:35:29 -07:00
  • 18f2baa88b Fix errors Ryan Cavanaugh 2018-05-22 10:16:24 -07:00
  • 9d57903630 Merge pull request #24312 from Kingwl/multiline-type-literal-formatter Mohamed Hegazy 2018-05-22 10:06:24 -07:00
  • a8715d0c10 Update user baselines (#24289) TypeScript Bot 2018-05-22 09:52:58 -07:00
  • a4c16168c8 Add --strictAny mode where 'any' is assignable only to 'any' and '{}' Anders Hejlsberg 2018-05-22 09:14:19 -07:00
  • 5e5c5a761a Merge pull request #24139 from minestarks/dynamicprojectassert Mine Starks 2018-05-22 09:04:45 -07:00
  • 982c8d0af9 Add suggestion diagnostics for unused label and unreachable code (#24261) Andy 2018-05-22 07:56:29 -07:00
  • f52c4af448 Merge pull request #24310 from Microsoft/nonWideningLiteralInferences Anders Hejlsberg 2018-05-22 06:56:34 -07:00
  • 5a9a88320a WIP Ryan Cavanaugh 2018-05-22 00:15:27 -07:00
  • 4b47c0cb82 fix wrong formatting with multiline type literals with IntersectionType and UnionType 王文璐 2018-05-22 14:01:04 +08:00
  • 76d2ba64df Testing WIP Ryan Cavanaugh 2018-05-21 21:24:29 -07:00
  • 6d04378e90 Testing WIP Ryan Cavanaugh 2018-05-21 19:40:09 -07:00
  • 0b18bdf590 Added tests Armando Aguirre 2018-05-21 18:22:13 -07:00
  • 7e0825a3e7 Clean, etc Ryan Cavanaugh 2018-05-21 17:47:58 -07:00
  • a9e89ce3f1 Merge pull request #24180 from Microsoft/updateVersion Mohamed Hegazy 2018-05-21 17:18:39 -07:00
  • edd31a1505 Preserver jsx imports even when the compiler option is not set Andrew Casey 2018-05-21 16:57:18 -07:00
  • b31c414a31 Accept new baselines Anders Hejlsberg 2018-05-21 16:44:03 -07:00
  • 9d4096f9c4 Add tests Anders Hejlsberg 2018-05-21 16:43:55 -07:00
  • 5bbadb66ab Accept new baselines Anders Hejlsberg 2018-05-21 16:43:46 -07:00
  • 8528dbee76 Handle union types in getRegularTypeOfLiteralType Anders Hejlsberg 2018-05-21 16:17:56 -07:00
  • 8995126563 Update LKG Mohamed Hegazy 2018-05-21 16:15:57 -07:00
  • b127090e31 Merge branch 'master' into release-2.9 Mohamed Hegazy 2018-05-21 16:13:49 -07:00
  • 802dc2bb9b fixUnusedIdentifier: If every VariableDeclaration is unused, remove the VariableStatement (#24231) Andy 2018-05-21 15:54:33 -07:00
  • c8ac085498 Infer non-widening literal types when type parameter constraint includes primitive types Anders Hejlsberg 2018-05-21 15:28:51 -07:00
  • b1dedf2540 WIP Ryan Cavanaugh 2018-05-21 13:05:14 -07:00
  • f1acbc93ef Add noGetErrOnBackgroundUpdate session option to not queue diagnostics check for open files This will ensure that the getErr will be queued in by host and hence would make sure that it is cancellable. Handles one of the scenario delaying completions in #19458 Sheetal Nandi 2018-05-21 12:19:48 -07:00
  • 8e7b8763a4 Update LKG Mohamed Hegazy 2018-05-21 12:42:58 -07:00
  • c244e5a89e Merge branch 'master' into release-2.9 Mohamed Hegazy 2018-05-21 12:40:47 -07:00
  • d2f6f6a0a4 Merge pull request #24296 from Microsoft/npmPackageSize Mohamed Hegazy 2018-05-21 12:35:00 -07:00
  • e4c380a698 Merge branch 'master' into documentRegistery Sheetal Nandi 2018-05-21 12:27:12 -07:00
  • 5abe4fead4 builf lib.es2018.full.d.ts Mohamed Hegazy 2018-05-21 11:01:56 -07:00
  • 85dcfec33c Update LKG Mohamed Hegazy 2018-05-21 11:01:35 -07:00
  • b2720adbc3 Lint Ryan Cavanaugh 2018-05-21 10:56:24 -07:00
  • 7016dfd246 Remove .js.map and .d.ts files added in #23844 Mohamed Hegazy 2018-05-21 10:51:08 -07:00
  • 440291e316 Fix bug: Get merged module symbol in forEachExternalModule (#24295) Andy 2018-05-21 10:48:50 -07:00
  • 7c86c7afff update .npmignore Mohamed Hegazy 2018-05-21 10:41:09 -07:00
  • c09cc70ebe Fix bug: VariableDeclaration initializer may be undefined (#24256) Andy 2018-05-21 07:58:33 -07:00
  • edf369edac Merge branch 'master' of https://github.com/Microsoft/TypeScript into bug/23180-generate-source-maps-with-relative-path Alexander T 2018-05-21 14:45:34 +03:00
  • 153c1806d3 Merge pull request #24271 from Microsoft/portRegExpDotAllFix Mohamed Hegazy 2018-05-19 11:44:58 -07:00
  • 8f6e6487f7 Merge pull request #24265 from Microsoft/quoteTypeof Mohamed Hegazy 2018-05-19 11:31:41 -07:00
  • c19408ba4d Port changes in #24238 to source file Mohamed Hegazy 2018-05-19 11:23:41 -07:00
  • 175d721614 LEGO: Merge pull request 24270 csigs 2018-05-19 09:10:48 -07:00
  • 956d82ae94 LEGO: check in for master to temporary branch. csigs 2018-05-19 16:10:26 +00:00
  • 3563a0576d Use single quotes around 'typeof' in message. Daniel Rosenwasser 2018-05-18 23:44:38 -07:00
  • 6103f9f644 LEGO: Merge pull request 24263 csigs 2018-05-18 21:10:43 -07:00
  • e6c62b9cc4 LEGO: check in for master to temporary branch. csigs 2018-05-19 04:10:20 +00:00
  • 02fe840732 Get constraint with this argument of the type parameter for comparisons (#21210) Wesley Wigham 2018-05-18 18:30:23 -07:00
  • 0f7f9783dc Fixed test regression, removed nodeContentIsAlwaysIndented Armando Aguirre 2018-05-18 17:07:58 -07:00
  • 4c22bf786e getEditsForFileRename: Do fresh module resolution instead of relying on cache (#24211) Andy 2018-05-18 16:42:42 -07:00
  • 1146c690f8 Fix issue with formatting object literal csharp style Armando Aguirre 2018-05-18 16:33:55 -07:00
  • 3eb66da155 Add code fix to remove unused label (#24037) Andy 2018-05-18 15:25:24 -07:00
  • 1df7997014 getJSDocTypeParameterDeclarations: Avoid unnecessary array (#24257) Andy 2018-05-18 13:53:27 -07:00
  • 04a351224c Merge pull request #24237 from amcasey/GH23640 Andrew Casey 2018-05-18 13:39:24 -07:00
  • 3bb9ccfa8e Merge pull request #24234 from Microsoft/unusedIdentifierCorrectFile Sheetal Nandi 2018-05-18 13:25:19 -07:00
  • 7f0258bcb9 getJSDocHost always returns a defined result (#24255) Andy 2018-05-18 13:20:13 -07:00
  • 8f662a9131 Extract sorting helper Andrew Casey 2018-05-18 12:53:28 -07:00
  • f7c6b46a29 Update LKG Mohamed Hegazy 2018-05-18 12:41:13 -07:00
  • ac0e86c69f Merge branch 'master' into release-2.9 Mohamed Hegazy 2018-05-18 12:40:58 -07:00
  • d60866aada Merge pull request #24236 from Kingwl/quick-fix-for-import-type Mohamed Hegazy 2018-05-18 11:34:54 -07:00
  • 9e19567638 Update user baselines (#24247) TypeScript Bot 2018-05-18 11:23:27 -07:00
  • 2e183f58f8 Merge pull request #24238 from bluelovers/patch-1 Mohamed Hegazy 2018-05-18 11:14:29 -07:00
  • 43e1edf10a Eliminate runtime type check Andrew Casey 2018-05-18 10:54:40 -07:00
  • 7fcf1fdeb6 Delete redundant tests Andrew Casey 2018-05-18 10:49:10 -07:00
  • 76573c6520 getEffectiveTypeParameterDeclarations: Always return a defined result (#24251) Andy 2018-05-18 10:17:35 -07:00
  • 89059f0b85 Some RWC tests had dupes in their input/outher files list because paths werent both resolved (#24235) Wesley Wigham 2018-05-18 08:46:50 -07:00
  • 8c2ed976a5 Merge pull request #24187 from Kingwl/disallow-in-function-like-initializer Mohamed Hegazy 2018-05-17 19:41:01 -07:00
  • dff19a5f70 es2018 regexp dotAll bluelovers 2018-05-18 10:07:46 +08:00
  • 45c06cfd11 only allow refactor if selected span overlaps name declaration 王文璐 2018-05-18 10:07:45 +08:00
  • a327241655 Sort exports when organizeImports is run Andrew Casey 2018-05-17 15:32:42 -07:00
  • 49989619db simply quick fix for import type missing typeof 王文璐 2018-05-18 09:34:14 +08:00
  • a4eb15635b WIP, need to lint Ryan Cavanaugh 2018-05-17 16:52:21 -07:00
  • aeb5625199 WIP Ryan Cavanaugh 2018-05-17 16:39:15 -07:00
  • 52e8c2d663 Unused variable error reporting needs to handle nodes that could not belong to current source file Eg. when resolving module, the another file gets checked and its locals are added to potentiallyUnused list Fixes #24215 Sheetal Nandi 2018-05-17 16:19:50 -07:00
  • 5fdde506ed Merge master into release-2.9 (#24228) Wesley Wigham 2018-05-17 15:40:49 -07:00
  • 66d6e5e6e0 Remove leveldown, stip absolute paths from test mk 2, accept reordered and new user baselines (#24227) Wesley Wigham 2018-05-17 15:32:10 -07:00
  • d82d35c7f5 Set startPos at EOF in jsdoc token scanner so node end positions for nodes terminated at EoF are right (#24184) Wesley Wigham 2018-05-17 15:16:18 -07:00
  • d579793d0a moveToNewFile: Fix bug for missing importClause (#24224) Andy 2018-05-17 14:32:12 -07:00
  • 75ab60f199 Improve ChangeTracker#deleteNodeInList (#24221) Andy 2018-05-17 14:31:58 -07:00
  • 3800d7b246 More robust circularity detection in node builder (#24225) Wesley Wigham 2018-05-17 14:30:07 -07:00
  • 08c364d258 fixUnusedIdentifier: Don't delete node whose ancestor was already deleted (#24207) Andy 2018-05-17 14:08:58 -07:00
  • c25b02fb5b Accept changed baseline (#24222) Wesley Wigham 2018-05-17 14:07:49 -07:00
  • 3fc3df3c3a Merge pull request #24137 from Microsoft/fix23977 Anders Hejlsberg 2018-05-17 13:15:28 -07:00
  • 3fc727b256 Use import types to refer to declarations in declaration emit (#24071) Wesley Wigham 2018-05-17 13:08:22 -07:00
  • 09b9ec43e3 moveToNewFile: Fix bug for VariableDeclaration missing initializer (#24214) Andy 2018-05-17 12:38:20 -07:00
  • a9660f3c5e Merge pull request #24212 from Microsoft/Fix24199 Mohamed Hegazy 2018-05-17 12:27:55 -07:00
  • 8dc9b76b6d Add undefined guard Mohamed Hegazy 2018-05-17 11:45:34 -07:00
  • 6450490844 Fix jsdoc type resolution [merge to master] (#24204) Nathan Shively-Sanders 2018-05-17 10:46:10 -07:00
  • 2b5ff29254 Reduce map lookups (#24203) Andy 2018-05-17 10:02:10 -07:00
  • 176e35b9c3 moveToNewFile: Don't move imports (#24177) Andy 2018-05-17 09:54:47 -07:00