36659 Commits

Author SHA1 Message Date
CSIGS@microsoft.com
afc463980f
LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20250225202237529 to main (#61269) 2025-02-25 14:39:49 -08:00
Mateusz Burzyński
7507b055de
Don't widen unique symbols annotated by effective type nodes in JS files (#61180) 2025-02-24 11:53:10 -08:00
Oleksandr T.
2c3be449ff
fix(60887): Incorrect Formatting on if (a) try {} finally {} (#60898) 2025-02-24 11:51:28 -08:00
Kenta Moriuchi
8ae98d02d8
Fix to use string literal type in ArrayBuffer's Symbol.toStringTag (#60150) 2025-02-24 14:17:35 -05:00
Michal Maršálek
244303f92f
make exported destructured discriminated union narrowing work (#59673) 2025-02-24 10:29:01 -08:00
dependabot[bot]
b8b7a38ee9
Bump the github-actions group with 4 updates (#61257)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-24 09:05:09 -08:00
Oleksandr T.
1cd8e20f94
fix(61167): Incorrect "Import may be converted to a default import" autofix for import export (#61171) 2025-02-21 15:23:22 -08:00
Chiri Vulpes
2bed7feee8
Account for right operands & fix a weird error message for leftmost nullish literals in checkNullishCoalesceOperands (#59569) 2025-02-21 14:17:08 -08:00
Mateusz Burzyński
edc497bb2b
Find method references through base abstract classes implementing an interface (#61234) 2025-02-21 11:08:34 -08:00
Mateusz Burzyński
b95187d1ce
Provide string completions for in keyword checks (#60272) 2025-02-20 14:01:52 -08:00
Mateusz Burzyński
0d016920e6
Infer from annotated return type nodes before assigning contextual parameter types (#60964) 2025-02-20 12:06:49 -08:00
Michal Maršálek
12c232333b
Fix of #58996 (#59155)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2025-02-20 11:41:31 -08:00
Mateusz Burzyński
5695986fbd
Fixed JSDoc checking on enum members (#61184) 2025-02-20 10:48:33 -08:00
Michal Maršálek
d8f6aa7c1f
Remove redundant getStringLiteralType call (#59803) 2025-02-20 10:48:09 -08:00
Ben Lickly
3f416e0f52
Fix quick fix for isolatedDeclarations to keep trailing unknown in generics (#61227) 2025-02-19 17:28:50 -08:00
Mateusz Burzyński
71b16ea186
Treat contextually typed functions in JS files as typed (#56907) 2025-02-19 16:58:32 -08:00
Jake Bailey
eb25b58114
Update deps, a few majors (#60967) 2025-02-19 16:54:43 -08:00
Daniel Rosenwasser
246507f7f9
Bump version to 5.9 (#61218) 2025-02-18 11:16:22 -08:00
Jake Bailey
c9cb6c3c34
Fix mistakenly disallowed default export under erasableSyntaxOnly (#61210) 2025-02-18 08:06:11 -08:00
Jake Bailey
0f4737e0d5
Ban import=require and export= under erasableSyntaxOnly (#61175) 2025-02-14 12:55:17 -08:00
dependabot[bot]
6af21a4a3d
Bump esbuild from 0.24.0 to 0.25.0 (#61166)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2025-02-12 09:15:10 -08:00
Mateusz Burzyński
df342b7206
Fixed rewriteRelativeImportExtensions for import() within call expressions (#61154) 2025-02-10 15:02:37 -08:00
dependabot[bot]
775412a81a
Bump github/codeql-action from 3.28.8 to 3.28.9 in the github-actions group (#61156)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 09:27:08 -08:00
Jake Bailey
e1629e540e
Pass ignoreErrors=true to more resolveEntityName callers (#61144) 2025-02-10 09:26:52 -08:00
Gabriela Araujo Britto
34ea32f8ce
Revert "Proposed expandable hover API" (#61132) 2025-02-07 12:44:02 -08:00
Gabriela Araujo Britto
c3ae7c418f
Revert return type narrowing (#61136) 2025-02-07 10:55:34 -08:00
CSIGS@microsoft.com
71716a2868
LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20250204202444390 to main (#61114) 2025-02-04 12:46:49 -08:00
Nathan Shively-Sanders
c50b5e718a
DOM update MessageEventTarget missed this parameters (#61086) 2025-02-03 13:32:35 -08:00
dependabot[bot]
f511ed42d0
Bump the github-actions group with 2 updates (#61102)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 08:36:44 -08:00
Andrew Branch
739d729ecc
[moveToFile] Fix symbols with empty declarations being treated as importable (#61084) 2025-01-30 13:49:26 -08:00
Nathan Shively-Sanders
66e1b24831
DOM update 2025/01/29 (#61073) 2025-01-30 11:39:52 -08:00
Andrew Branch
019fec8bf2
Fix accidental ESM-mode directory module lookup in package non-root (#61082) 2025-01-30 10:17:14 -08:00
Daniel Rosenwasser
0652664e64
Fix error message incorrectly referencing 'asserts' instead of 'assert'. (#61066) 2025-01-28 14:42:35 -08:00
CSIGS@microsoft.com
fed7a7f48e
LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20250128203517120 to main (#61067) 2025-01-28 13:07:00 -08:00
dependabot[bot]
32ebd28578
Bump the github-actions group with 2 updates (#61055)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-27 07:54:45 -08:00
Wesley Wigham
caf1aee269
Computed names in declarations files are resolved even when non-literal, preserve computed names when expressions are entity names (#60052) 2025-01-24 11:44:54 -08:00
Jake Bailey
d1e2e50ff3
Disable broken CodeQL query (#61040) 2025-01-24 08:20:52 -08:00
Jake Bailey
220706eb03
Add new option "libReplacement" (#60829) 2025-01-23 17:34:52 -08:00
Isabel Duan
c5058f0066
allow calling goToDef on modifiers of named declarations (#60384) 2025-01-23 17:30:35 -08:00
Tristan Menzel
f28c5180df
Expose method for retrieving inferred generic type arguments for a signature on the TypeChecker (#59637) (#60201) 2025-01-23 16:43:59 -08:00
uhyo
0e371c4bf5
fix: do not use JSX.ElementChildrenAttribute under jsx: react-jsx or jsx: react-jsxdev (#60880) 2025-01-23 16:03:08 -08:00
Ryan Cavanaugh
2c865e461e
--erasableSyntaxOnly (#61011)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2025-01-23 15:56:35 -08:00
Andrew Branch
329387d76f
Fix missing failed lookup locations when resolving bare-specifier package.json "imports" (#60924) 2025-01-23 15:28:53 -08:00
Jake Bailey
51d9a98c55
Ensure createProgram stops referencing rootNamesOrOptions to ensure oldProgram is GC'd (#61034)
Co-authored-by: cplepage <lepage.charlesphilippe@gmail.com>
2025-01-23 15:05:21 -08:00
Andrew Branch
5e52b28ee6
Support require(esm) in --module nodenext (#60761) 2025-01-22 16:56:17 -08:00
Mateusz Burzyński
efe07a0921
Narrow types by satisfies expressions (#60782) 2025-01-22 13:44:58 -08:00
Mateusz Burzyński
7f802bbca2
Fixed an issue with for statement's incrementor missing continue's control flow information (#60950) 2025-01-22 11:40:58 -08:00
Nathan Shively-Sanders
b886b48950
DOM update 2025/01/16 (#60987) 2025-01-22 10:36:00 -08:00
Mateusz Burzyński
ce73b174f1
Treat BigInt type references in JSDoc as intended bigints (#60863) 2025-01-22 08:33:00 -08:00
Kenta Moriuchi
1c4083f4ed
Add ESNext float16 features and fix TypedArrays of BigInt types (#60151) 2025-01-21 22:04:14 -05:00