Commit Graph

  • aa2781d44f Add missing type argument constraints check (#51766) Tomasz Lenarcik 2022-12-14 20:20:57 +01:00
  • eb9252ed9e Update package-lock.json TypeScript Bot 2022-12-14 06:06:59 +00:00
  • e4816ed44c JSDoc overload tag (#51234) Tomasz Lenarcik 2022-12-14 00:10:40 +01:00
  • 4076ff8fd6 Add option for organize imports case sensitivity (#51733) Andrew Branch 2022-12-13 14:37:29 -08:00
  • a5dde88dce --moduleResolution bundler (formerly known as hybrid) (#51669) Andrew Branch 2022-12-13 13:35:16 -08:00
  • ad354c2d75 Don't include already-covered cases in switch completions (#51790) Gabriela Araujo Britto 2022-12-13 18:01:52 -03:00
  • 0c23344a1e Update esbuild to v0.16.5 and use new --packages=external option (#51877) Jake Bailey 2022-12-13 12:47:36 -08:00
  • 6d41964fd0 Reduce polymorphism resulting from unstable Node shapes (#51682) Ron Buckton 2022-12-13 15:11:10 -05:00
  • 7267fcaeb9 Fix(29118): tsconfig.extends as array (#50403) navya9singh 2022-12-13 11:16:07 -08:00
  • a3802c1e7b Remove excluded CodeQL rules, fix reference to Gulpfile (#51878) Jake Bailey 2022-12-13 11:01:27 -08:00
  • 41fa4d7edd Update package-lock.json TypeScript Bot 2022-12-13 06:07:58 +00:00
  • 790c03d7b0 fix(47954): Auto implementation of interface with a constructor prop causes error (#50709) Oleksandr T 2022-12-13 01:28:03 +02:00
  • 8f2a38f44b fix(50117): Using @extends in JavaScript + JSDoc removes method documentations (#50256) Oleksandr T 2022-12-13 01:22:03 +02:00
  • d54f52e0de fix(50089): JSDoc/TSDoc @link with custom display text incorrectly shows vertical bar (#50106) Oleksandr T 2022-12-13 01:16:29 +02:00
  • 708a522ddf fix(49080): --exactOptionalPropertyTypes seems to be ignored for JSDoc types (#49910) Oleksandr T 2022-12-13 01:03:49 +02:00
  • 355991c806 feat(49323): Render JSDoc @throws {type} as a link (#49891) Oleksandr T 2022-12-13 00:44:38 +02:00
  • f1288c33a1 Update package-lock.json TypeScript Bot 2022-12-12 06:06:46 +00:00
  • 3be1a67f82 Update package-lock.json TypeScript Bot 2022-12-11 06:06:29 +00:00
  • d45527a215 Update package-lock.json TypeScript Bot 2022-12-10 06:07:06 +00:00
  • b179c7c959 Dont store originalPath as separate, instead store originalPath || resolvedFileName and resolve the symlinks on read cacheModuleResolution Sheetal Nandi 2022-12-09 20:15:31 -08:00
  • 2bb56dafe7 Always respect preserveSymlinks Sheetal Nandi 2022-12-09 16:41:15 -08:00
  • 3115572878 Store resolvedFileName as fileId instead of structure if thats the only info in resolution Sheetal Nandi 2022-12-09 17:42:29 -08:00
  • 81a1af93fc Dont store isExternalLibraryImport in the buildInfo Sheetal Nandi 2022-12-09 12:06:39 -08:00
  • 1e123ec1a6 Cache packagejson scopes per directory Sheetal Nandi 2022-12-09 09:20:35 -08:00
  • 78e215f815 Dont store package json path if its found in same directory Sheetal Nandi 2022-08-03 17:14:29 -07:00
  • be5ecb2ef8 During cacheResolutions dont watch failed lookups and dont look at those package.json if one exists per buildInfo Sheetal Nandi 2022-08-03 12:44:45 -07:00
  • e21738c351 Store package.json for the directories in buildinfo Sheetal Nandi 2022-08-02 12:48:09 -07:00
  • 5c11252b71 Add tests for package json edits Sheetal Nandi 2022-08-02 10:47:55 -07:00
  • 7de47805fe Use the hashes to verify the affecting location before using the resolution Sheetal Nandi 2022-07-28 10:20:44 -07:00
  • e1ed9ea312 Store package json hash in buildinfo Sheetal Nandi 2022-11-29 15:55:34 -08:00
  • 6261b6cf67 Add tests where cache resoluition is incorrectly used because of not checking affected locations Sheetal Nandi 2022-07-27 16:14:53 -07:00
  • 2219b5dc95 Start using cache as perDirectory lookup Sheetal Nandi 2022-11-16 14:41:38 -08:00
  • 84cda33850 More tests for cache reuse directory structure Sheetal Nandi 2022-07-27 14:59:04 -07:00
  • feb3220299 Tests for unresolved imports from multiple places Sheetal Nandi 2022-07-27 14:15:18 -07:00
  • 4d127faa25 Remove files that are not in program from cache of unresolved imports Sheetal Nandi 2022-07-27 12:16:33 -07:00
  • 71ebed9c00 Modify resolution cache to update on program creation completion Sheetal Nandi 2022-11-29 15:54:07 -08:00
  • 591960edb0 Set old program build info as a location to look for from module resolution caches Sheetal Nandi 2022-07-25 16:58:11 -07:00
  • 207226a9c8 Reusing resolutions in tsserver scenario Sheetal Nandi 2022-07-25 14:48:17 -07:00
  • 0446430aaa Add tests where module resolution caches should reuse the resolutions from buildInfo Sheetal Nandi 2022-07-25 13:53:39 -07:00
  • 959206d3e9 Do not store failed lookups with cacheResolution option if it is resolved to a file since they do not matter Sheetal Nandi 2022-07-25 12:12:28 -07:00
  • ce07d0e961 Handle resolutions that would be same in ancestor directory and can be derived through ancestor map Sheetal Nandi 2022-07-22 18:32:39 -07:00
  • d55ab98d59 Test for module resolutions from different directories Sheetal Nandi 2022-07-22 14:24:05 -07:00
  • 0132dc0b1d Handle project reference redirects for the module and type reference resolutions Sheetal Nandi 2022-07-21 17:43:48 -07:00
  • 23cfc79fdc Buildinfo resolutions actually reused Sheetal Nandi 2022-07-18 16:22:59 -07:00
  • 4bc74b98c2 Add reusing cache stub Sheetal Nandi 2022-07-08 15:17:16 -07:00
  • 76100d729f Read reusable module cache information from the buildinfo Sheetal Nandi 2022-07-08 13:34:01 -07:00
  • 1eeea260d6 Store resolved module and type reference resolution cache in buildinfo Sheetal Nandi 2022-07-07 13:30:11 -07:00
  • 666eece8cc Add tests Sheetal Nandi 2022-07-01 10:39:01 -07:00
  • e1600ab800 Add baselining of modules and type refs Sheetal Nandi 2022-12-09 12:52:45 -08:00
  • 3172629f21 Add new option to cacheResolution (No actual functionality yet) Sheetal Nandi 2022-06-30 15:43:32 -07:00
  • 9d7df99414 Fix isExternalLibraryImport for classic resolution (#51840) Sheetal Nandi 2022-12-09 14:44:35 -08:00
  • 4978b3ebeb Properly detect explicitly-set targets (#51834) Ryan Cavanaugh 2022-12-09 10:31:51 -08:00
  • 86e0fc92af Fix the test (#51839) Sheetal Nandi 2022-12-09 10:22:49 -08:00
  • 1f32fef5a2 fix(51077): skip insertText for jsx attribute with existing initializer (#51093) Oleksandr T 2022-12-09 18:38:08 +02:00
  • f3d55db45a Fixed tuple types indexed by a type parameter (#51037) Josh Goldberg 2022-12-09 10:59:40 -05:00
  • 212d3864ef Update package-lock.json TypeScript Bot 2022-12-09 06:07:13 +00:00
  • 65bf850a20 Fix #51437 Duplicate "Duplicate identifier" errors (#51594) George Manning 2022-12-09 03:21:41 +00:00
  • e087992134 feat(47977): show completion in jsdoc extends/implements tags (#51028) Oleksandr T 2022-12-09 03:10:00 +02:00
  • 8f2ee38b52 fix(50888): Organize Imports may delete preceding comments when all members of all import statements are unused (#50983) Oleksandr T 2022-12-09 03:05:12 +02:00
  • 6327931d4f create special --no-typecheck script (#51830) Gabriela Araujo Britto 2022-12-08 22:04:58 -03:00
  • f0f415b671 Add missing Intl.ListFormat.prototype.resolvedOptions() (#51024) swandir 2022-12-09 03:45:17 +03:00
  • a3dbe7dc70 Update default target from ES3 to ES5 (#51731) Ryan Cavanaugh 2022-12-08 16:43:47 -08:00
  • 3716ffe748 Make getSupportedCodeFixes on LS so it can be proxied by plugins (#51769) Sheetal Nandi 2022-12-08 09:52:25 -08:00
  • 52203dbc46 Update package-lock.json TypeScript Bot 2022-12-08 06:06:59 +00:00
  • 4f951d72f0 Update to esbuild v0.16 (#51803) Jake Bailey 2022-12-07 19:54:35 -08:00
  • b9d0e17298 Ignore switch statement bypass control flows that produce never (#51703) Anders Hejlsberg 2022-12-07 16:19:09 -08:00
  • d43112a75b Use missingType in --noUncheckedIndexedAccess mode (#51653) Anders Hejlsberg 2022-12-07 13:38:33 -08:00
  • 91f89b94e4 Visit child nodes in checkExpressionWithTypeArguments (#51804) Anders Hejlsberg 2022-12-07 10:06:12 -08:00
  • bef1da1ba3 Update Baselines and/or Applied Lint Fixes freezeTemplateObjects TypeScript Bot 2022-12-07 18:05:05 +00:00
  • 9c00001a26 Have __makeTemplateObject freeze template strings objects if possible. Daniel Rosenwasser 2022-12-07 09:51:27 -08:00
  • a77a79fe4b Remove some unnecessary createGetCanonicalFileName by exposing one from program (#51796) Sheetal Nandi 2022-12-07 09:17:52 -08:00
  • 6684e3d527 Fixed substition types for non-generic indexed accesses (#51621) Mateusz Burzyński 2022-12-07 16:47:32 +01:00
  • 832a6e45a7 Unify verifyTsc and verifyTscWithEdits and make them look like verifyTscWatch for easy copy paste (#51798) Sheetal Nandi 2022-12-06 17:18:31 -08:00
  • e0293b5877 Instead of computing signatures during building, compute them afterwards for verification (#51718) Sheetal Nandi 2022-12-06 16:55:08 -08:00
  • dc3daa6644 Fix namespace import update bug, simplify, comment, and rename (#51797) Andrew Branch 2022-12-06 16:38:33 -08:00
  • a1536358f7 fix & test (#51792) Gabriela Araujo Britto 2022-12-06 21:18:01 -03:00
  • 4ac75fa2b6 Remove emitDeclarationOnly hack now that build mode supports it as a flag (#51795) Jake Bailey 2022-12-06 16:02:23 -08:00
  • 84e475c105 Make resolution cache use sets instead of arrays for easier checking (#51735) Sheetal Nandi 2022-12-06 14:25:19 -08:00
  • 38f33ade06 Use non relative name cache for type reference resolutions and API updates (#51732) Sheetal Nandi 2022-12-06 14:22:03 -08:00
  • 703652cebf Remove some files from the repo root (#51446) Jake Bailey 2022-12-06 13:42:54 -08:00
  • f9d7f85ce2 Refactor wrapSymbolTrackerToReportForContext to improve perf symboltracker-perf Ron Buckton 2022-12-06 14:53:07 -05:00
  • 3c99d50da5 Replace a few type assertions with annotations and satisfies. (#51685) Daniel Rosenwasser 2022-12-06 11:52:17 -08:00
  • af1d91d9d9 Fix missed errors in switch when using union of literal and non-literal types (#38686) (#51373) Eric Ferreira 2022-12-06 13:50:21 -05:00
  • bb42b5c1a6 Unconditionally use WeakMap in debug (#51785) Jake Bailey 2022-12-06 10:41:39 -08:00
  • c2fa967bff Add FabricBot config, removing @amcasey pings (#51775) Andrew Branch 2022-12-06 09:47:11 -08:00
  • e2868216f6 Bump version to 4.9.4 and LKG. v4.9.4 Daniel Rosenwasser 2022-12-06 17:42:25 +00:00
  • ae9c671d59 (fix #50725, #50710) add file extensions in import statements (#51702) Isabel Duan 2022-12-06 09:28:10 -08:00
  • 5bb204e321 Remove webServer (#51699) Nathan Shively-Sanders 2022-12-06 08:41:01 -08:00
  • c124d0e260 Update package-lock.json TypeScript Bot 2022-12-06 06:06:23 +00:00
  • 0eca6b0edc fix(40365): handle deprecated properties of merged interfaces (#51640) Oleksandr T 2022-12-06 01:06:18 +02:00
  • e9e7a9d49a Fix #51623 (#51762) Wesley Wigham 2022-12-05 12:48:11 -08:00
  • b23b29b71b Use formatting newline rather than host newline in extractType (#51764) Wesley Wigham 2022-12-05 12:47:36 -08:00
  • 0c09d2f172 quick fix for a nullable missing callback function (#51743) Lyu, Wei-Da 2022-12-06 04:23:59 +08:00
  • 9e845d2248 Api cleanup for Module and Type Reference directive resolution (#51546) Sheetal Nandi 2022-12-05 11:56:33 -08:00
  • c07f51242c Fix narrowing by typeof applied to discriminant property (#51720) Anders Hejlsberg 2022-12-05 11:51:54 -08:00
  • eb5419fc8d Cherry-pick #51704 to release 4.9 (#51712) Ryan Cavanaugh 2022-12-05 11:13:46 -08:00
  • 048029edc2 Update package-lock.json TypeScript Bot 2022-12-05 06:06:45 +00:00
  • a7c07ff0da Update package-lock.json TypeScript Bot 2022-12-04 06:06:12 +00:00
  • d4cf24c107 Update package-lock.json TypeScript Bot 2022-12-03 06:06:17 +00:00
  • b4d382b9b1 Cherry-pick changes for narrowing to tagged literal types. Daniel Rosenwasser 2022-12-02 10:55:03 -08:00