26895 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
983250fefc Fix error message to show 'Fragment' instead of 'React' for react-jsx modes
Co-authored-by: jakebailey <5341706+jakebailey@users.noreply.github.com>
2025-11-10 16:49:56 +00:00
copilot-swe-agent[bot]
7fcfd01ec3 Fix regression: only apply contextual type for fragment children, not regular JSX elements
Co-authored-by: jakebailey <5341706+jakebailey@users.noreply.github.com>
2025-11-10 16:20:01 +00:00
copilot-swe-agent[bot]
483093f36f Add test case and implement fix for JSX Fragment typing with react-jsx mode
Co-authored-by: jakebailey <5341706+jakebailey@users.noreply.github.com>
2025-11-10 16:12:35 +00:00
CSIGS@microsoft.com
1654ebfb54
LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20251031193321730 to main (#62702) 2025-10-31 15:39:17 -07:00
Anders Hejlsberg
cc05d940a2
Propagate variance reliability (#62604) 2025-10-31 11:51:01 -07:00
CSIGS@microsoft.com
ac7825c484
LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20251030193607558 to main (#62695) 2025-10-30 16:50:02 -07:00
Mateusz Burzyński
b44ac69d5b
Keep returned (and yielded) literal types as const when their types using const type variables (#56859) 2025-10-30 11:59:09 -07:00
Mateusz Burzyński
f6f4eab587
Allow implicit undefined returns when the contextual union type contains it (#57912) 2025-10-30 11:56:21 -07:00
Mateusz Burzyński
2b2d6cebcb
Improve references search and quick info on properties with type errors within nullable contextual types (#61383) 2025-10-30 11:54:29 -07:00
Mateusz Burzyński
6fd2874d0d
Use comparability for discriminant properties when narrowing types for a default switch clause (#61211) 2025-10-30 14:20:13 +00:00
Mateusz Burzyński
2a90a739c1
Fixed an issue with "slow" sync iteration types spoiling cached value for async ones (#62676) 2025-10-29 15:56:21 -07:00
Mateusz Burzyński
11ee01b22d
Add missing whitespace after type parameter's modifiers in interactive inlay hints (#62246) 2025-10-29 09:24:57 -07:00
Andrew Branch
42f6576e83
Deprecate --module amd, umd, system, none; --moduleResolution classic; change defaults (#62669) 2025-10-24 14:57:57 -07:00
Andrew Branch
f450c1b80c
Deprecate esModuleInterop and allowSyntheticDefaultImports (default to true) (#62567) 2025-10-22 16:50:03 -07:00
Copilot
542b09547f
Fix TS2783 false positive for union types in object spread expressions (#62656)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com>
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
Co-authored-by: Ryan Cavanaugh <ryanca@microsoft.com>
2025-10-22 16:44:10 -07:00
Mateusz Burzyński
cbc2059b53
Fixed a crash when parsing invalid decorator on await expression (#62659) 2025-10-22 12:03:09 -07:00
Kevin Brey
af3a3779de
add allowJs default value description (#62611) 2025-10-20 15:43:26 -07:00
Andrew Branch
84f4856709
Fix fourslash tests (#62641) 2025-10-20 19:47:59 +00:00
Mateusz Burzyński
d8aafb3197
Handle more child types when generating navigation tree items for export default (#62620) 2025-10-17 09:44:34 -07:00
Mateusz Burzyński
d3be7e171b
Allow line break before import attributes with keyword (#62593) 2025-10-14 09:51:33 -07:00
CSIGS@microsoft.com
10b2cf52c3
LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20251001192403117 to main (#62521) 2025-10-09 12:50:23 -07:00
Mateusz Burzyński
6ba7d3560f
Consistently resolve to the errorType on arguments with error (#62549) 2025-10-05 15:40:28 -07:00
Jake Bailey
d0d675a363
Update DOM types for FileSystemDirectoryHandle changes (#62538) 2025-10-03 16:36:42 -07:00
dontwanttothink
3a68348fcb
Add type definitions for Uint8Array to/from base64 methods (#61696) 2025-10-03 14:01:57 -07:00
Jake Bailey
ced90d94b5
Move Iterable/AsyncIterable into main DOM/WebWorker libs (#62111) 2025-10-02 15:52:50 -07:00
Jake Bailey
9c4c377044
Update DOM types (#62496) 2025-10-02 10:42:42 -07:00
Andrew Branch
eef6a0cbcf
Deprecate baseUrl (#62509) 2025-09-30 14:03:17 -07:00
Hans Brende
31a0ead46d
Don't compare "missing" to undefined in compareProperties under exactOptionalPropertyTypes (#61683) 2025-09-30 13:15:38 -07:00
Matt Kantor
d4b15eb56d
Enhance type argument completions (#62170) 2025-09-30 13:00:20 -07:00
Anders Hejlsberg
e350126ab9
Port microsoft/typescript-go#1764 (#62510) 2025-09-29 14:47:59 -07:00
Anders Hejlsberg
97610a8a63
Port microsoft/typescript-go#1757 (#62501) 2025-09-29 14:42:29 -07:00
Anders Hejlsberg
1cd5309f7d
Port https://github.com/microsoft/typescript-go/pull/1759 (#62502) 2025-09-28 20:55:30 +00:00
Jake Bailey
5f183ad73d
Revert PR 61928 (#62423) 2025-09-25 10:22:27 -07:00
Andrew Branch
6f6efb419a
Disable conditional exports fallbacks on null values (#62483) 2025-09-25 09:16:51 -07:00
Jake Bailey
96acaa5290
Remove no-default-lib (#62435) 2025-09-24 16:16:14 -07:00
Ryan Cavanaugh
904e7dd97d
Enable noUncheckedSideEffectImports by default (#62443) 2025-09-22 12:06:04 -07:00
Janhvi Chitnis
233f392d67
fix(error message): fixes issue in error message TS1355 (#62465) 2025-09-19 08:47:27 -07:00
Sheetal Nandi
e9bcbe6ef7
Fix incorrectly ignored dts file from project reference for resolution (#62438) 2025-09-11 19:14:30 +00:00
Copilot
cdfc519b99
Switch libReplacement to false by default (#62391)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: DanielRosenwasser <972891+DanielRosenwasser@users.noreply.github.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2025-09-10 17:02:03 -07:00
Greggman
3320dfdfcf
Add missing Float16Array constructors (#62351) 2025-09-09 11:22:55 -07:00
Mateusz Burzyński
4f94cb2aa4
Fix parenthesizer rules for manually constructed binary expressions with ?? and ||/&& mix (#62311) 2025-09-09 10:06:00 -07:00
CSIGS@microsoft.com
0f4b3387bd
LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20250829194312467 to main (#62357) 2025-09-08 12:49:11 -07:00
Andrew Branch
7956c00166
Deprecate --moduleResolution node10 (#62338) 2025-08-27 13:51:20 -07:00
Andrew Branch
e635bb97f5
Allow --module bundler --moduleResolution commonjs (#62320) 2025-08-22 14:17:18 -07:00
Jake Bailey
73c0bc8bc8
Update deps (#62285) 2025-08-14 12:17:24 -07:00
René
e39d5775b6
Update Node.js core modules (#62201) 2025-08-11 13:16:40 -07:00
Daniel Rosenwasser
c6a1812e0c
Bump version to 6.0 (#62162) 2025-07-31 16:21:24 -07:00
Copilot
39c5d01877
Fix private identifier fields generating errors in class expression declarations (#62155)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com>
Co-authored-by: weswigham <2932786+weswigham@users.noreply.github.com>
Co-authored-by: Wesley Wigham <wewigham@microsoft.com>
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2025-07-31 15:51:51 -07:00
Daniel Rosenwasser
be86783155
Give more specific errors for verbatimModuleSyntax (#62113) 2025-07-23 15:38:01 -07:00
CSIGS@microsoft.com
22ef57786f
LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20250714192406710 to main (#62068) 2025-07-22 13:23:03 -07:00