36681 Commits

Author SHA1 Message Date
Mateusz Burzyński
a586c340a2
Fixed crash related to index type deferral on generic mapped types with name types (#60528)
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
2026-01-15 21:20:56 +00:00
Sheetal Nandi
7affa9e540
Assume rootDir is the current configuration directory (#62418) 2026-01-15 21:16:15 +00:00
Sheetal Nandi
4d94ccb06b
Handle resolution watching when its dynamic scriptInfo (#62894) 2026-01-15 19:13:21 +00:00
Daniel Rosenwasser
a9f534f271
Correctly split line endings for // @testOption: value parsing (#62987)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-15 03:13:51 +00:00
Daniel Rosenwasser
64d1978944
More strictness prep (#62984) 2026-01-14 00:19:55 +00:00
Ryan Cavanaugh
631affd1d7
Deprecate --outFile (#62981) 2026-01-13 20:40:31 +00:00
Mateusz Burzyński
7bb5ba3de6
Discard types that reduce to never before discriminating by discriminable items (#62275) 2026-01-13 17:13:48 +00:00
Daniel Rosenwasser
f5ccf4345d
Test updates for strict initialization (#62958) 2026-01-09 23:47:35 +00:00
Copilot
c574e4090d
Fix "never nullish" diagnostic missing expressions wrapped in parentheses (#62789)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jakebailey <5341706+jakebailey@users.noreply.github.com>
Co-authored-by: Ryan Cavanaugh <ryanca@microsoft.com>
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
2026-01-09 18:57:02 +00:00
Mateusz Burzyński
632479f28d
Fixed an issue causing spurious "used before being assigned" errors in for of/in loops (#61376)
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
2026-01-09 00:27:42 +00:00
Daniel Rosenwasser
9d364978d3
Simplify "Configure Build Tools" devcontainer step. (#62955) 2026-01-05 22:42:08 +00:00
Anders Hejlsberg
f3770c9b89
Fix crash in abstract property checking (#62923) 2025-12-28 21:12:38 +00:00
Anders Hejlsberg
1f5f9f34d3
Fix crash in mixin checking (#62928) 2025-12-26 23:15:54 +00:00
Mateusz Burzyński
2dfdbbabae
Fixed crash when adding unreachable code diagnostic in situations with missing nodes (#62914) 2025-12-19 13:18:44 +00:00
Ryan Cavanaugh
b78f0899ab
Add note re: PRs to CONTRIBUTING.md (#62889)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-15 19:45:08 +00:00
dependabot[bot]
db3ae1bebb
Bump the github-actions group with 4 updates (#62897)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-15 17:07:11 +00:00
Tu Shaokun
0a07132715
Fix typo: MERCHANTABLITY → MERCHANTABILITY (#62891) 2025-12-12 16:59:36 +00:00
Jake Bailey
d7ae3aa940
Fix accidental module replacements in tests (#62890) 2025-12-12 16:33:41 +00:00
Ryan Cavanaugh
16b933fb7b
Deprecate module syntax (#62876) 2025-12-12 00:21:01 +00:00
Jake Bailey
c84cb94778
Revert "ES2020: fix String.prototype.matchAll type and description" (#62885) 2025-12-11 22:21:52 +00:00
Jordan Harband
bbb5322c96
ES2020: fix String.prototype.matchAll type and description (#62873) 2025-12-11 19:36:19 +00:00
Mateusz Burzyński
366da34ae6
Improve inference by not considering thisless functions to be context-sensitive (#62243) 2025-12-10 19:08:29 +00:00
Jake Bailey
1da8266179
Disable some more merge queue jobs (#62871) 2025-12-09 20:30:50 +00:00
magic-akari
3b9acae97c
Allow subpath imports that start with #/ (#62844) 2025-12-09 18:54:52 +00:00
Lars Kappert
ab142be459
Move knip args (#62865) 2025-12-09 04:33:55 +00:00
Jake Bailey
c21f73fd4e
Reenable fail-fast in merge queues (#62856) 2025-12-08 12:14:40 -08:00
Jake Bailey
3544dd7d4d
Fix ContextFlags compile error (#62855) 2025-12-08 19:36:00 +00:00
Mateusz Burzyński
69a0879743
Include source node inferences in string literal completions deeper in arguments (#56182) 2025-12-08 10:30:33 -08:00
Mateusz Burzyński
b2327c0f19
Make go to definition go to the constraint's properties for object literals in argument positions (#62361) 2025-12-08 10:27:56 -08:00
Mateusz Burzyński
dafed7f25b
Add tests for contextual param type assignment in nested return type inference scenarios (#62189) 2025-12-08 18:01:10 +00:00
dependabot[bot]
6618cf7069
Bump the github-actions group with 3 updates (#62851)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-08 08:53:41 -08:00
Mateusz Burzyński
38d95c8001
Avoid silentNeverType leaking into generator types inferred based on inner generic calls at yields (#62283) 2025-12-05 10:47:37 -08:00
Mateusz Burzyński
0752278137
Widen reverse mapped type properties to fix them being treated as EPC-valid sources (#62722) 2025-12-05 10:45:33 -08:00
Jake Bailey
b33d37201e
Don't set parent on non-transient symbols in mergeSymbolTable (#61560) 2025-12-04 09:47:25 -08:00
CSIGS@microsoft.com
dba6c9b824
LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20251203202848732 to main (#62832) 2025-12-04 09:30:04 -08:00
Ryan Cavanaugh
4ef237895d
Update security.md (#62833) 2025-12-03 23:55:17 +00:00
Mateusz Burzyński
28fbc0a1ef
Filter return type inferences by constraint applicability (#58910) 2025-12-03 09:46:59 -08:00
dependabot[bot]
5026c6675c
Bump the github-actions group across 1 directory with 2 updates (#62799)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 09:04:42 -08:00
Sheetal Nandi
669c25c091
Add --ignoreConfig and dont allow specifying files on commandline without it if there is config file present (#62477) 2025-11-24 11:50:49 -08:00
CSIGS@microsoft.com
fbb051f500
LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20251121203231458 to main (#62791) 2025-11-21 16:30:42 -08:00
René
60e99ecee4
Disallow [await] using statements under case/default clauses (#62709) 2025-11-19 14:08:45 -08:00
Jake Bailey
0c801e6efb
Update deps (#62784) 2025-11-19 12:14:52 -08:00
Copilot
486fce7a12
Fix unreachable code detection persisting after incremental edits (#62783)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jakebailey <5341706+jakebailey@users.noreply.github.com>
2025-11-19 09:46:30 -08:00
Kevin Gibbons
cc2610fd34
Update error for allowImportingTsExtensions to mention rewriteRelativeImportExtensions (#62557) 2025-11-14 09:04:38 -08:00
Jake Bailey
09e31cf04a
Move unreachable checks to checker (#62751) 2025-11-13 17:50:42 -08:00
Jake Bailey
ea48dedd7d
Shrink relationComplexityError test size (#62754) 2025-11-13 21:44:23 +00:00
Ryan Cavanaugh
0f766a9aa7
Remove watchdogs workflow (#62690) 2025-11-12 08:43:14 -08:00
Mateusz Burzyński
4a957b74ea
Fixed control flow Analysis of aliased discriminants with parenthesized initializers (#61788) 2025-11-11 11:41:36 -08:00
Nico Rainhart
48244d89f8
fix: [Symbol.iterator]() lost on union with never (#62661) 2025-11-10 15:11:13 -08:00
Jake Bailey
efca03ffed
Switch 1ESPT pipelines to 1ESPT-AzureLinux3 (#62727) 2025-11-07 12:07:17 -08:00