Commit Graph

  • b9bd0d9a3f Merge pull request #26451 from Microsoft/nonRecursiveOnHostsWithoutRecursiveSupport Sheetal Nandi 2018-08-14 17:12:48 -07:00
  • 1dd3cd288e Make file as externalLibrary import if path contains node_modules Sheetal Nandi 2018-08-14 16:21:22 -07:00
  • a32f62b310 Write tests to demonstrate how baseUrl + pathMapping to node_modules behaves Sheetal Nandi 2018-08-14 15:46:51 -07:00
  • af71d55a49 Do not include json file unless --resolveJsonModule is specified Fixes #26402 Sheetal Nandi 2018-08-14 16:10:32 -07:00
  • aa8f1e5b6a Test when module resolution because of path mapping takes to json file Test for #26402 Sheetal Nandi 2018-08-14 15:46:51 -07:00
  • 29ca93ba48 Classes can extend Javascript constructor functions (#26452) Nathan Shively-Sanders 2018-08-14 14:43:04 -07:00
  • 354e0c40ed Merge branch 'master' into removeWhitespace removeWhitespace Ron Buckton 2018-08-14 14:26:45 -07:00
  • 62e6e6ae27 Remove special handling for JSDocPropertyLikeTag in getJSSpecialType (#26432) Andy 2018-08-14 13:48:17 -07:00
  • beed179f58 disallow abstract property access in property initializer Klaus Meinhardt 2018-08-14 22:38:03 +02:00
  • a1089893bd Fixes #26128 - signature comp for jsdoc @class. (#26160) James Keane 2018-08-14 16:35:51 -04:00
  • 512a49be81 Return the nonrecursive directory watcher correctly on platforms that dont support recrusive directory watching Fixes #26288 Sheetal Nandi 2018-08-14 12:14:22 -07:00
  • 4323fd7481 Simplify chooseOverload function Anders Hejlsberg 2018-08-14 10:23:35 -07:00
  • d7b802577c Mapped types like Pick<T, K> should adopt property documentation from T. Matt McCutchen 2018-08-13 19:56:20 -04:00
  • cea4838972 Set rootDir in tsconfig-base.json (#26415) Andy 2018-08-13 15:19:27 -07:00
  • e8b72aa7d9 Error on accessing private property through destructuring assignment, and mark property used (#26381) Andy 2018-08-13 14:08:00 -07:00
  • b53491cbe4 Include all excluded arguments in one go instead of one by one Anders Hejlsberg 2018-08-13 13:47:55 -07:00
  • 7e117f2707 Check large file size only for non ts files Sheetal Nandi 2018-08-13 13:30:31 -07:00
  • ec1cc0ae57 Update user baselines (#26419) TypeScript Bot 2018-08-13 13:17:11 -07:00
  • ad63468ed5 noUnusedLocals: f(x = 1) does not use x (#26366) Andy 2018-08-13 11:14:52 -07:00
  • f2011ce755 Merge pull request #26197 from Microsoft/largeFileEvent Sheetal Nandi 2018-08-13 11:14:22 -07:00
  • 2b83b67aa3 Merge pull request #26140 from Kingwl/completionUnionType Sheetal Nandi 2018-08-13 10:36:19 -07:00
  • fe387cc7f0 Merge pull request #26377 from Microsoft/moduleResolutionWithSymLinks Sheetal Nandi 2018-08-10 22:27:38 -07:00
  • 8e05f4ec64 Add documentation for originalPath Sheetal Nandi 2018-08-10 17:08:53 -07:00
  • c5b74db78b Merge pull request #26200 from Microsoft/watchWithStrict Sheetal Nandi 2018-08-10 16:15:37 -07:00
  • 421730a68d Refactoring promises returning functions to use async and await (#26373) Elizabeth Dinella 2018-08-10 16:11:45 -07:00
  • 82d4cccf53 Use original path from resolved module cache when available. Fixes #26273 Thanks to @ajafff, for partial fix and test (#26310) Sheetal Nandi 2018-08-10 15:23:35 -07:00
  • 08f5edbd03 Treat NoSubstitutionTemplateLiteral like StringLiteral in more places (#26330) Andy 2018-08-10 16:00:08 -07:00
  • 8ef7ceda6d Merge pull request #26289 from amcasey/LibSuggestions Andrew Casey 2018-08-10 15:59:40 -07:00
  • ad4403e43a moduleNameResolver: fix invalid assertion and avoid unnecessary work (#26319) Klaus Meinhardt 2018-08-11 00:59:08 +02:00
  • a6c5d50749 Allow type predicates in JSDoc (#26343) Nathan Shively-Sanders 2018-08-10 15:31:39 -07:00
  • 46d3caab7c Don't error on destructure of private property with computed property syntax (#26360) Andy 2018-08-10 15:11:04 -07:00
  • 796302294f Review feedback Sheetal Nandi 2018-08-10 14:44:44 -07:00
  • c8e10a9a66 Merge pull request #26296 from ajafff/modulenameresolver-cache Sheetal Nandi 2018-08-10 14:36:54 -07:00
  • 4bb740218d getDefaultExportInfo: Use getImmediateAliasedSymbol instead of getAliasedSymbol (#26364) Andy 2018-08-10 14:35:18 -07:00
  • 9ba224d3b0 Merge pull request #26305 from ajafff/common-prefix Sheetal Nandi 2018-08-10 13:35:24 -07:00
  • 3469b62be6 review comments Klaus Meinhardt 2018-08-10 22:25:27 +02:00
  • 4db7c869e5 restore old algorithm Klaus Meinhardt 2018-08-10 22:11:16 +02:00
  • 19e04b2cdb Dont use baseURL relative absolute paths in declaration emit, use absolute paths in bundle emit (#26341) Wesley Wigham 2018-08-10 12:54:45 -07:00
  • ac460e30e7 code review Andy Hanson 2018-08-10 11:50:39 -07:00
  • ef7997cb73 Update user baselines (#26358) TypeScript Bot 2018-08-10 10:27:14 -07:00
  • 6432bd9def check index access for fixed length tuple 王文璐 2018-08-08 16:01:15 +08:00
  • a73161e9d5 Don't store @template constraint in a TypeParameterDeclaration node (#26283) Andy 2018-08-09 17:39:15 -07:00
  • 5efd1cb4a7 fixAddMissingMember: Support interface and don't crash on type parameter (#25995) Andy 2018-08-09 17:32:28 -07:00
  • 639fdcc916 Don't include class getter in spread type (#26287) Andy 2018-08-09 15:34:29 -07:00
  • 55a620c433 Don't crash on computed property in destructure (#26334) Andy 2018-08-09 15:29:45 -07:00
  • df2af29977 Accept new baselines Anders Hejlsberg 2018-08-09 16:34:01 -04:00
  • 89a8b5094a Add test Anders Hejlsberg 2018-08-09 16:33:54 -04:00
  • 8ff8008fc0 Make T[K] yield never when T is never Anders Hejlsberg 2018-08-09 16:31:54 -04:00
  • fce3d9f34d Check the ambientness of a symbol name before attempting to trim it (#26312) Wesley Wigham 2018-08-09 13:20:37 -07:00
  • f6af618ab9 Still generate signatures in SkipContextSensitive mode just to match on return types (#25937) Wesley Wigham 2018-08-09 10:17:50 -07:00
  • 77494d6294 getScriptInfoOrConfig: Canonicalize tsconfig path before lookup Andy Hanson 2018-08-07 15:35:43 -07:00
  • 01f6093a9c Merge pull request #26143 from mattmccutchen/issue-26130 Anders Hejlsberg 2018-08-09 07:43:46 -07:00
  • 20ebe1eb2b Merge pull request #26244 from Microsoft/fixThisAndContextualTypes Anders Hejlsberg 2018-08-09 06:07:11 -07:00
  • d2dc17d765 fix handling if there is no commonPrefix Klaus Meinhardt 2018-08-09 11:50:00 +02:00
  • 23601a10b8 improve completions for union type in type arguments 王文璐 2018-08-02 09:44:34 +08:00
  • a36a53bfdb Actually add sorting of elaboration text to user baselines Wesley Wigham 2018-08-08 13:40:21 -07:00
  • c6fd0c8d29 Ping ryan instead of mohammed for user PRs now Wesley Wigham 2018-08-08 13:36:03 -07:00
  • 711b5660cb unittests/moduleResolution: actually assert in checkResolvedModule Klaus Meinhardt 2018-08-08 21:16:09 +02:00
  • 20442fe363 handle failed lookups Klaus Meinhardt 2018-08-08 20:45:31 +02:00
  • 95082e4743 make it work for root directory Klaus Meinhardt 2018-08-08 20:29:59 +02:00
  • 6210b7db54 Merge pull request #26245 from Kingwl/fix-compiler-crash Ryan Cavanaugh 2018-08-08 11:12:16 -07:00
  • ec1ff29a8c really, really fix test(?) Klaus Meinhardt 2018-08-08 17:10:22 +02:00
  • 27d2a2d564 add test Klaus Meinhardt 2018-08-08 17:05:31 +02:00
  • 95494efe50 fix commonPrefix handling Klaus Meinhardt 2018-08-08 16:58:35 +02:00
  • f31b9d3891 fix test Klaus Meinhardt 2018-08-08 16:38:42 +02:00
  • 47e77901fd actually test the cache Klaus Meinhardt 2018-08-08 15:39:07 +02:00
  • bed93b48f5 fix moduleNameResolver cache Klaus Meinhardt 2018-08-08 11:12:48 +02:00
  • daccc978a8 Don't compute suggestion diagnostics for lib files Andrew Casey 2018-08-07 17:57:47 -07:00
  • 1a05f13aef moveToNewFile: Don't remove empty named imports (#26265) Andy 2018-08-07 12:54:46 -07:00
  • 794f3a5e76 goToTypeDefinition: Go to function return type (#25952) Andy 2018-08-07 12:54:19 -07:00
  • eaf0d59d35 Fix bug: symbol.valueDeclaration not guaranteed to be defined (#26267) Andy 2018-08-07 12:13:45 -07:00
  • 32e99ba8f9 Add TEST-results.xml to the gitignore Wesley Wigham 2018-08-07 10:48:45 -07:00
  • 3fde17e85c Merge pull request #26234 from RyanCavanaugh/noVoidTest Ryan Cavanaugh 2018-08-07 08:37:42 -07:00
  • 639190d607 fix compiler crash (#26209) 王文璐 2018-08-07 10:09:26 +08:00
  • 937afab4b0 Support signature help for contextual parameter type (#26022) Andy 2018-08-06 16:46:30 -07:00
  • eeb19c1e22 Merge pull request #26236 from Microsoft/fixCircularReturnType Anders Hejlsberg 2018-08-06 16:38:31 -07:00
  • 9d71023b5c Add fourslash tests Anders Hejlsberg 2018-08-06 16:33:21 -07:00
  • f67bdd429a Skip loading configured project just to report project info through synchronizeProjectList for project opened by external project Sheetal Nandi 2018-07-25 14:01:48 -07:00
  • ca10b7a6fa Add checks for remaining truthiness positions Ryan Cavanaugh 2018-08-06 16:11:43 -07:00
  • bf19d214f3 Revise logic that computes the contextual type for a parameter Anders Hejlsberg 2018-08-06 16:10:10 -07:00
  • 8c4607d8eb Dont delay external project update from openExternalProject Since external projects are needed to be uptodate when opening file, so in most likely scenarios these will be loaded anyways so there is no saving in postponing this work Sheetal Nandi 2018-07-25 13:12:52 -07:00
  • a0190e397a Delay update graph when opening external project, and delay load configured project referenced from external project when opening it Sheetal Nandi 2018-07-20 16:29:04 -07:00
  • 4475d81b9c Add flags on commandLineOption to indicate strictFlag or option affecting semanticDiagnostics Sheetal Nandi 2018-08-06 14:54:57 -07:00
  • 2e017b8ce1 Hardcode xunit reporter output file into failed tests reporter Wesley Wigham 2018-08-06 14:09:41 -07:00
  • bad002cfb7 Merge pull request #26150 from Kingwl/CheckReturnUnknow Ryan Cavanaugh 2018-08-06 13:52:14 -07:00
  • d0ed21cad1 completions: 'true' and 'false' are type keywords (#26237) Andy 2018-08-06 12:42:56 -07:00
  • 7299bceafb infer number index signature in JS object literals (#26221) Klaus Meinhardt 2018-08-06 20:52:51 +02:00
  • 16343208c8 If runner is xunit (as on CI) set output file Wesley Wigham 2018-08-06 11:41:27 -07:00
  • cfa29ae2fa Merge branch 'master' into fixCircularReturnType Anders Hejlsberg 2018-08-06 10:53:20 -07:00
  • 6a17f4d162 Merge branch 'master' into fixCircularReturnType Anders Hejlsberg 2018-08-06 10:42:35 -07:00
  • 37b9a6bca4 25840 - Add a more meaningful error message to the case when calling a public static method on an instance (#25922) Alexander T 2018-08-06 20:24:48 +03:00
  • 9c3dc96dc1 Accept new baselines Anders Hejlsberg 2018-08-06 10:02:42 -07:00
  • efdbbd1cf3 Add regression tests Anders Hejlsberg 2018-08-06 10:02:33 -07:00
  • 14d3c69c72 Disallow exprs of type void to be used in truthiness checks Ryan Cavanaugh 2018-08-06 09:40:22 -07:00
  • dc34c5e719 Use getReturnTypeFromAnnotation instead of ad hoc checks Anders Hejlsberg 2018-08-06 06:51:45 -07:00
  • 723ee8a35e visit exclamation token 王文璐 2018-08-02 18:33:15 +08:00
  • 76ae12d143 Change esnext.asynciterable to es2018.asynciterable Kagami Sascha Rosylight 2018-08-06 16:30:08 +09:00
  • c367b91da7 Accept new baselines Anders Hejlsberg 2018-08-05 08:48:17 -07:00
  • ab7defa5ea Clean up return type checking logic Anders Hejlsberg 2018-08-05 08:47:55 -07:00
  • faed2d2c33 Accept new baselines Anders Hejlsberg 2018-08-04 11:34:45 -07:00