Commit Graph
36509 Commits
Author SHA1 Message Date
Sheetal Nandi 2a08064091 unresolved imports of empty array and undefined are same 2025-05-16 14:42:32 -07:00
Sheetal Nandi 8e23cb4adc Now that work with unresolved imports cleanup is done, remove the temp logging added 2025-05-16 14:42:27 -07:00
Sheetal Nandi cbbbf4aae2 If the there is no change detected in module resolution we shouldnt need to update last cached unresolved imports just because we have new program 2025-05-16 14:36:49 -07:00
Sheetal Nandi dad8851564 Update cached import list update as part of resolving modules instead of another pass 2025-05-16 14:36:41 -07:00
Sheetal Nandi 163778335c Use globalCacheResolution to invalidate resolutions on typings update 2025-05-16 14:36:28 -07:00
Sheetal Nandi f659bec764 If typing installer is disabled invalidate all the resolutions from typings cache
This change finally makes all tests pass incremental tests for matching resolutions and program structuture
2025-05-16 14:36:11 -07:00
Sheetal Nandi 457d9b725a Do not update typings for project if type aquisition is disabled 2025-05-16 14:35:46 -07:00
Sheetal Nandi d839caea7f Update the unresolved import list only if it will be used 2025-05-16 14:35:35 -07:00
Sheetal Nandi e89404fa2f Close watchers for TI that are no longer needed 2025-05-16 14:31:50 -07:00
Sheetal Nandi 3ae4463ad2 When type acquisition is disabled, remove the typing files set as root
Also cache the inferred type acquition for inferred project
2025-05-16 14:31:29 -07:00
Sheetal Nandi cae589d277 Handle unnecessary typings request force just because root files change
First unresolved import gets the typing file into cache and sets it as root,
This results in scheduling new typing request with that unresolved import missing
The result will come back with typing file that is omitted, so root file will change but file will still be part of program so its not really removed from program
2025-05-16 14:30:54 -07:00
Sheetal Nandi 592bba486b Verify getUnresolvedImports incrementally 2025-05-16 14:30:37 -07:00
Sheetal Nandi d81f147bc7 Add test when type acquisition changes 2025-05-16 14:29:04 -07:00
Sheetal Nandi 31009c830f Write log about unresolved imports calculation 2025-05-16 14:28:42 -07:00
Andrew Branch 81c951894e Fix getResolvePackageJsonImports utility (#61707) 2025-05-15 17:49:35 -07:00
Mateusz Burzyński b86ab7dbe0 Stop reassigning .valueDeclaration to avoid replacing earlier declarations with late ones (#60857) 2025-05-15 09:51:34 -07:00
Mateusz Burzyński 0fb5e3a8cf Preserve type parameter constraint in emitted mapped types while preserving their distributivity (#54759) 2025-05-12 10:54:34 -07:00
Ulrich Stark 7156300cee Fix unwanted constant comparisons potentially causing bugs (#61655) 2025-05-09 15:20:44 -07:00
Gabriela Araujo Britto 0ee67b517f Add configurable maximum hover length (#61662) 2025-05-09 13:31:39 -07:00
Ron Buckton 8c62e08448 DOM Update 2025-05-02 (#61647) 2025-05-07 18:02:49 -04:00
Joseph MartinandNathan Shively-Sanders d88d3a4681 docs(lib): add @throws JSDoc for JSON methods (#61596)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2025-05-02 15:20:58 -07:00
ZzzenandNathan Shively-Sanders 5e36778330 check usage before declaration for decorators (#50372)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2025-05-02 14:01:09 -07:00
e37ca49c70 arguments should not be allowed in class static block (#48172)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2025-05-02 06:38:33 -07:00
Oleksandr T. 11e7932759 fix(61258): Renaming namespace with const enum doesn't update enum references (#61263) 2025-04-24 14:35:05 -07:00
Tom Mrazauskas 38b78b70d2 Add the .getNonPrimitiveType() method to the TypeChecker (#61562) 2025-04-24 14:08:52 -07:00
Hans Brende 75202af2cc Fix #61098 (#61113) 2025-04-24 13:55:56 -07:00
dependabot[bot] 62b172b515 Bump the github-actions group across 1 directory with 3 updates (#61601)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-21 10:15:39 -07:00
Sebastian "Sebbie" Silbermann 0a1aa6d6eb Deemphasize old JSX transform (#61586) 2025-04-17 11:02:55 -07:00
Andrew Branch 6afd0fb73f Fix crash when serializing default export in error (#61582) 2025-04-16 09:43:33 -07:00
Gabriela Araujo Britto 069de743db Expandable hover (#61492) 2025-04-15 12:14:38 -07:00
Mateusz Burzyński eef7c14ef1 Treat functions with @type tags on parameters as typed in JS files (#61177) 2025-04-14 15:35:20 -07:00
Jake Bailey 83dc0bb2ed Convert release publishing inputs into parameters (#61523) 2025-04-04 12:22:18 -07:00
VitalyandNathan Shively-Sanders ba663f6ac2 Exclude completions of binding pattern variable initializers (#52723)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2025-04-02 13:47:43 -07:00
dependabot[bot] 7205eda454 Bump github/codeql-action from 3.28.12 to 3.28.13 in the github-actions group (#61509)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 13:54:15 -07:00
Mateusz Burzyński 89c572ca0c Fixed a symbol display crash on expando members write locations (#55478) 2025-04-01 13:40:59 -07:00
Jake Bailey 7b26d2eba5 Fix incorrect name in new release pipeline (#61514) 2025-03-31 16:19:05 -07:00
Jake BaileyandDaniel Rosenwasser c7a559eeae Add new release publisher yaml (#61491)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2025-03-31 16:10:51 -07:00
Fróði Karlsson 29e6d6689d Fix lib.includes('dom') check in containerSeemsToBeEmptyDomElement (#61481) 2025-03-25 16:24:52 -07:00
dependabot[bot] 19b777260b Bump the github-actions group with 4 updates (#61474)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-24 04:23:27 -07:00
Daniel Rosenwasser 4dc677b292 Fix errors on type assertions in erasableSyntaxOnly (#61452) 2025-03-19 16:25:22 -07:00
Oleksandr T. ee3dd7264b fix(60908): Unexpected "'Type' is declared but its value is never read." error with jsdoc @import syntax (#60921) 2025-03-17 13:29:48 -07:00
Titian Cernicova-Dragomir a00b324ab2 Fix serialization of accessor types in declaration files. (#61392) 2025-03-14 12:36:08 -07:00
dependabot[bot] 0aac72020e Bump github/codeql-action from 3.28.10 to 3.28.11 in the github-actions group (#61387)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-10 09:17:17 -07:00
CSIGS@microsoft.com 1efdcd9ff7 LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20250306202248269 to main (#61368) 2025-03-06 12:41:55 -08:00
Titian Cernicova-Dragomir c85e626d8e Rename type parameters when they are shadowed. (#61342) 2025-03-04 11:34:32 -08:00
dependabot[bot] 47442d958c Bump the github-actions group with 2 updates (#61333)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 09:46:35 -08:00
Jake Bailey 15392346d0 Ban old-style type assertions under erasableSyntaxOnly (#61244) 2025-02-28 11:10:43 -08:00
CSIGS@microsoft.com 011f7e4ee5 LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20250227204102665 to main (#61315) 2025-02-27 12:58:31 -08:00
René 6121f45347 lib.es2017: Move SharedArrayBuffer[Symbol.species] onto constructor interface (#61271) 2025-02-26 16:47:50 -05:00
Mateusz Burzyńskiandmichaelm b97eafbf3b Fixed accidentally reused comments between files in the emitter (#61261)
Co-authored-by: michaelm <michael.mitchell@airtable.com>
2025-02-26 12:48:59 -08:00