25561 Commits

Author SHA1 Message Date
TypeScript Bot
e6ceba0841 Bump version to 5.1.4 and LKG 2023-06-07 22:28:56 +00:00
TypeScript Bot
d1259a1188
🤖 Pick PR #54507 (Ensure we don't overwrite computed ...) into release-5.1 (#54545)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-06-07 15:13:50 -07:00
TypeScript Bot
b547906da5
🤖 Pick PR #54425 (fix(54411): Compiled code contain j...) into release-5.1 (#54489)
Co-authored-by: Oleksandr T <oleksandr.tarasiuk@outlook.com>
2023-06-01 12:57:22 -07:00
Daniel Rosenwasser
7275ded359 Bump version to 5.1.3 and update LKG. 2023-05-30 21:10:15 +00:00
TypeScript Bot
1143a21f03
🤖 Pick PR #54454 (Use replaceAll instead of an inco...) into release-5.1 (#54456)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-05-30 13:46:53 -07:00
TypeScript Bot
b7d523ecbb
🤖 Pick PR #54450 (Resolve tslib re-exports before che...) into release-5.1 (#54457)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2023-05-30 13:46:43 -07:00
TypeScript Bot
a360d9fb3a
🤖 Pick PR #54315 (add baseline for linked editing) into release-5.1 (#54419)
Co-authored-by: Isabel Duan <isabelduan@microsoft.com>
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-05-29 20:58:40 -07:00
TypeScript Bot
c8da9d59fe
🤖 Pick PR #54358 (Don't use text change's `createNewF...) into release-5.1 (#54444)
Co-authored-by: Gabriela Araujo Britto <gabrielaa@microsoft.com>
2023-05-29 20:54:38 -07:00
Daniel Rosenwasser
cede745ab3 Cherry-picks 544d432 into release-5.1. 2023-05-29 20:05:35 +00:00
TypeScript Bot
a38e4f5749
🤖 Pick PR #54169 (Fix creation of composite union typ...) into release-5.1 (#54412)
Co-authored-by: Anders Hejlsberg <andersh@microsoft.com>
2023-05-29 12:52:07 -07:00
TypeScript Bot
898edb5381
🤖 Pick PR #54208 (Properly handle typeof this.xxx i...) into release-5.1 (#54413)
Co-authored-by: Anders Hejlsberg <andersh@microsoft.com>
2023-05-29 12:51:54 -07:00
TypeScript Bot
42e783930e
🤖 Pick PR #54317 (Resolve re-exports when looking for...) into release-5.1 (#54327)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2023-05-26 10:02:20 -07:00
TypeScript Bot
ed924d0585
🤖 Pick PR #54112 (Fix isGenericReducibleType to all...) into release-5.1 (#54349)
Co-authored-by: Anders Hejlsberg <andersh@microsoft.com>
2023-05-26 10:02:08 -07:00
TypeScript Bot
cbb5826d0a
🤖 Pick PR #54401 (Handle already released source file...) into release-5.1 (#54403)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-05-26 10:01:48 -07:00
TypeScript Bot
7e48587f7c
🤖 Pick PR #54300 (fix(54283): Provide better UX when ...) into release-5.1 (#54312)
Co-authored-by: Oleksandr T <oleksandr.tarasiuk@outlook.com>
2023-05-18 14:53:48 -07:00
Ron Buckton
87547ae3ff Reverse order of decorator-injected initializers (#54269) 2023-05-17 22:15:00 +00:00
Daniel Rosenwasser
fdd5cf2fa6 Bump version to 5.1.1-rc and LKG. 2023-05-14 20:39:24 +00:00
Daniel Rosenwasser
704e7661e2 Merge branch 'main' into release-5.1 2023-05-14 20:33:24 +00:00
Gabriela Araujo Britto
48328caa71
Cache expression type when checking assertion (#54224) 2023-05-12 17:22:34 -07:00
Andrew Branch
f0ff97611f
isolatedModules does not imply every file is a module (#54218) 2023-05-12 15:14:49 -07:00
Nathan Shively-Sanders
b52e912601
move some tests that depend on tsserver into tsserver/ (#54219) 2023-05-11 15:48:17 -07:00
Nathan Shively-Sanders
72037a9796
Skip resolving files directly inside node_modules (#52809) 2023-05-11 08:16:17 -07:00
navya9singh
d7b8662f4d
Fix for formatter crash for Move to file (#54199) 2023-05-09 14:01:59 -07:00
Sheetal Nandi
8b825f7aaa
Handle module node found error reporting in incremental and watch scneario (#54115) 2023-05-09 13:42:26 -07:00
Wesley Wigham
02bb3108ad
JSX namespace names should not be considered expressions (#54104) 2023-05-09 10:45:58 -07:00
Nathan Shively-Sanders
59d3a38180
fix jsdoc errors in .ts in tsserver (#54185) 2023-05-09 10:00:48 -07:00
Jm
362703a213
Cover more cases for node module auto-import (#54024) 2023-05-09 09:46:55 -07:00
Oleksandr T
320e628a6d
fix(53424): in code documentation is not working upon import if function expression reuse function type (#53964) 2023-05-08 16:55:04 -07:00
Mateusz Burzyński
6947c98929
Fixed issue with spreading a generic call expression into generic JSX and gather intra expression inference sites from spread expressions (#53444) 2023-05-08 13:53:15 -07:00
Maria José Solano
42d69cfa77
Handle undefined location.parent when getting completionEntryDetails (#54138) 2023-05-05 13:41:50 -07:00
Ryan Cavanaugh
e9cbebbc89
Ignore self tail calls when collecting the return type of a function (#53995) 2023-05-05 10:16:11 -07:00
Jake Bailey
ca185e95ce
Fix TS version appearing in baselines (#54154) 2023-05-05 09:54:09 -07:00
Jake Bailey
c333e14578
Ensure that JSDoc parsing happens within a ParsingContext (#52710) 2023-05-04 09:55:34 -07:00
Nathan Shively-Sanders
840a0bfc08
Error on template tag inside callback/overload/typedef tag (#54118) 2023-05-04 09:51:43 -07:00
Ron Buckton
f9a7cbfe7b
Fix crash in getAwaitedType (#54107) 2023-05-03 15:40:51 -04:00
Steven
ec1205cec1
Fix/issue 53286 (#53885) 2023-05-02 15:53:42 -07:00
Nathan Shively-Sanders
632ad0b0de
JS declaration emit uses this for method returns (#54062) 2023-05-02 14:19:03 -07:00
Sheetal Nandi
bbb9f2ebcf
Just like request and response, events are also logged as formatted json for readability (#54105) 2023-05-02 13:32:12 -07:00
Anders Hejlsberg
44f4e276b7
Constraints for generic tuple types (#53672) 2023-05-02 10:35:49 -07:00
Anders Hejlsberg
94564cf073
Type with diverging read/write normalizations still identical to itself (#54033) 2023-05-02 06:40:41 -07:00
Anders Hejlsberg
ae6393e5eb
Add fallback when both co- and contra-variant inference candidates exist (#54072) 2023-05-02 06:39:57 -07:00
Taekmin Kwon
1416053b9e
Ensure call return() for an abrupt completion at for await of loop (#52754)
Co-authored-by: tm-kwon <tm.kwon@naverlabs.com>
2023-05-01 08:44:55 -04:00
Ron Buckton
611a912dd1
Fix class alias reference in static initializer for legacy class decorators (#54046) 2023-04-28 15:45:40 -04:00
Ron Buckton
be27970251
Fix 'var' hoisting in 'if' in CJS/AMD emit (#54036) 2023-04-27 15:58:41 -04:00
navya9singh
9d4c291e06
Adding missing parameter (#54045) 2023-04-27 12:36:55 -07:00
Nathan Shively-Sanders
063276aac9
Bind JSDoc on SemicolonClassElement (#54044) 2023-04-27 11:47:16 -07:00
Oleksandr T
3c43b6b1be
fix(53754): Re-exported symbol marked with deprecated doesn't get correct deprecation highlighting (#53808) 2023-04-27 09:45:10 -07:00
Nathan Shively-Sanders
1577535205
Fix callback return type annotation before constructor (#54034) 2023-04-26 13:46:55 -07:00
Mateusz Burzyński
2cbfb51ebb
Fixed JSX attributes discriminating based on optional children (#53980) 2023-04-26 13:39:08 -07:00
Sheetal Nandi
a956bbc831
Instead of watching files in typing installer, forward it to projectService (#54028) 2023-04-26 13:31:36 -07:00