34447 Commits

Author SHA1 Message Date
TypeScript Bot
b78f920ea0
🤖 Pick PR #53365 (Change ParamaterDecorator to allow ...) into release-5.0 (#53392)
Co-authored-by: Daniel Hritzkiv <daniel.hritzkiv@gmail.com>
2023-03-27 14:01:09 -07:00
Sheetal Nandi
e674ef3d58
Pick PR #53468 (Fix incorrect assert about configFi...) into release-5.0 (#53471) 2023-03-23 13:15:25 -07:00
TypeScript Bot
e34eaff0c6
🤖 Pick PR #53388 (Exclude special index signature rul...) into release-5.0 (#53445)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-03-23 11:54:51 -07:00
TypeScript Bot
5348903e88
🤖 Pick PR #53385 (Add missing ambient check to `verba...) into release-5.0 (#53389)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2023-03-22 14:46:54 -07:00
TypeScript Bot
3ec598c947 Update LKG v5.0.2 2023-03-15 23:58:05 +00:00
TypeScript Bot
0e765ac48d
🤖 Pick PR #53268 (fix(53204): Bug: __runInitializers(...) into release-5.0 (#53273)
Co-authored-by: Oleksandr T <oleksandr.tarasiuk@outlook.com>
2023-03-15 15:39:00 -07:00
TypeScript Bot
cb69c8a717 Update LKG 2023-03-14 21:26:18 +00:00
TypeScript Bot
d97bb67c0a
🤖 Pick PR #53174 (Remove old references to Node v4, s...) into release-5.0 (#53189)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-03-14 14:15:54 -07:00
TypeScript Bot
6e598742e7
🤖 Pick PR #53240 (Allow 'verbatimModuleSyntax' with t...) into release-5.0 (#53253)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
Co-authored-by: typescript-bot <typescript@microsoft.com>
2023-03-14 13:26:22 -07:00
TypeScript Bot
9a8badd238 Bump version to 5.0.2 and LKG 2023-03-11 00:09:47 +00:00
TypeScript Bot
a5484aebf8
🤖 Pick PR #53139 (Make ModuleResolutionKind.Node10 ch...) into release-5.0 (#53143)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2023-03-10 15:53:10 -08:00
Jake Bailey
23455b4aab
Cherry-pick #52993 to release-5.0 (#53142) 2023-03-09 16:07:26 -08:00
TypeScript Bot
f7f44da064
🤖 Pick PR #53183 (Set package.json minimum to Node 12...) into release-5.0 (#53186)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-03-09 14:26:44 -08:00
Daniel Rosenwasser
4d4227adc4
Pin dependencies in release-5.0 (#53126)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-03-06 23:22:27 -08:00
TypeScript Bot
79bdd93ec5
🤖 Pick PR #52984 (Check for strict subtypes and then ...) into release-5.0 (#53085)
Co-authored-by: Anders Hejlsberg <andersh@microsoft.com>
2023-03-06 17:17:49 -08:00
Jake Bailey
b0afbd6aaa
Cherry-pick #52565 to release-5.0 (#53055)
Co-authored-by: Oleksandr T <oleksandr.tarasiuk@outlook.com>
2023-03-02 12:38:45 -08:00
TypeScript Bot
3ede9245ce
🤖 Pick PR #53012 (Omit intersection property check wh...) into release-5.0 (#53024)
Co-authored-by: Anders Hejlsberg <andersh@microsoft.com>
2023-03-02 12:36:57 -08:00
Daniel Rosenwasser
89515ce7e3 Update version to 5.0.1-rc and LKG. v5.0-rc 2023-02-25 02:46:19 +00:00
Daniel Rosenwasser
d3815df94e Merge branch 'main' into release-5.0 2023-02-25 02:39:45 +00:00
Andrew Branch
e9868e96e8
--moduleResolution bundler: Require ESM for module and remove node from hard-coded conditions (#52940) 2023-02-24 15:49:08 -08:00
Daniel Rosenwasser
3f7bf69ddf
Destructure common factory methods in the parser. (#52920) 2023-02-24 12:52:30 -08:00
TypeScript Bot
4416d548cb Update package-lock.json 2023-02-24 06:07:01 +00:00
Mateusz Burzyński
1a76569a78
Retry querying string completions from the inferred type if the original completions request doesn't return anything (#52875) 2023-02-23 12:13:30 -08:00
TypeScript Bot
f2df10fc83 Update package-lock.json 2023-02-23 06:06:55 +00:00
Ron Buckton
8becdf2b40
Fix emit for nested object rest in assignment pattern (#52922) 2023-02-22 20:41:09 -05:00
Jake Bailey
718e63b9c9
Add links to github above big var blocks (#52925) 2023-02-22 17:01:15 -08:00
Jake Bailey
b39f10f651
Switch to var in emitter, writer, printer (#52906) 2023-02-22 11:45:51 -08:00
Sheetal Nandi
27f20c9fae
Defer creation of node typings installer (#52904) 2023-02-22 11:40:48 -08:00
Jake Bailey
3267c76777
Fix debug assert for type assertions / JSX (#52919) 2023-02-22 11:05:50 -08:00
ExE Boss
6bbdcaa146
Fix definition of Array.prototype[Symbol.unscopables] (#42566) 2023-02-22 13:00:52 -05:00
Jake Bailey
ef79b42b57
Don't emit binding pattern pattern / optional parameter error when an initializer is present (#52880) 2023-02-21 18:05:02 -08:00
Daniel Rosenwasser
27376f1577
Swap closure state in the type-checker to var to avoid TDZ checks. (#52835) 2023-02-21 17:35:55 -08:00
Jake Bailey
c5e4f0075d
Switch to var in binder for top level variables (#52903) 2023-02-21 17:32:32 -08:00
Jake Bailey
3471bd7d86
Fix type import node circularity errors in eager diagnostic mode, deprecations (#52861) 2023-02-21 15:42:15 -08:00
Jake Bailey
8adc460c3c
Modify ignoreDeprecation diagnostic to be copy/pastable (#52900) 2023-02-21 15:41:35 -08:00
Jake Bailey
4587871f51
Fix RWC tests with errors in tsconfig (#52824) 2023-02-21 11:09:06 -08:00
Jake Bailey
b579516b9e
Handle multiple levels of substitutions and indexed accesses in getActualTypeVariable (#52848) 2023-02-21 11:08:51 -08:00
Mateusz Burzyński
38b951e166
Fixed crash in switch completions related to parenthesized expressions (#52881) 2023-02-21 10:41:16 -08:00
Jake Bailey
e88fe15d68
Remove ts namespace import from checker (#52890) 2023-02-21 10:14:26 -08:00
Oleksandr T
e1ae30e1ab
fix(52852): "Move to a new file" refactoring does not maintain "import type" semantics (#52854) 2023-02-21 10:02:00 -08:00
TypeScript Bot
f0d1eee9b1 Update package-lock.json 2023-02-21 06:06:32 +00:00
TypeScript Bot
c6fb2e10dc Update package-lock.json 2023-02-20 06:07:10 +00:00
Anders Hejlsberg
5c92af1dcc
Fix contextual typing for post-spread tuple elements (#52769) 2023-02-18 07:35:24 -10:00
TypeScript Bot
d87d0adcd3 Update package-lock.json 2023-02-18 06:06:25 +00:00
Oleksandr T
bbb98cf797
fix(52664): Assertion failure on completions for derived class with computed base property name (#52673) 2023-02-17 17:36:52 -08:00
Daniel Rosenwasser
04637662f4
Switch let/const to var in the scanner & parser for top-levelish variables. (#52832) 2023-02-17 17:07:11 -08:00
Jake Bailey
8cc216af03
Ensure parameters are in scope when converting parameter/return types to type nodes (#49627) 2023-02-17 16:46:03 -08:00
Oleksandr T
088fdf6efe
fix(51202): Circular instantiation expression crashing IDEs (#51214) 2023-02-17 11:31:45 -08:00
Jake Bailey
a3a4993937
Don't parse out a name for JSX fragments (#52818) 2023-02-17 10:55:56 -08:00
TypeScript Bot
ddfec78f55 Update package-lock.json 2023-02-17 06:07:05 +00:00