Commit Graph
17598 Commits
Author SHA1 Message Date
Jake BaileyandOleksandr T 738bd605df Cherry-pick #58966 to release-5.5 (#59002)
Co-authored-by: Oleksandr T <oleksandr.tarasiuk@outlook.com>
2024-06-26 10:37:58 -07:00
TypeScript Bot 5367ae10f5 Bump version to 5.5.2 and LKG 2024-06-18 23:23:32 +00:00
TypeScript BotandAndrew Branch 45b1e3c254 🤖 Pick PR #58872 (Fix declaration emit crash) into release-5.5 (#58874)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2024-06-17 12:01:47 -07:00
TypeScript BotandMateusz Burzyński 17933ee33a 🤖 Pick PR #58810 (Fixed declaration emit issue relate...) into release-5.5 (#58842)
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2024-06-14 18:22:19 -07:00
TypeScript BotandMateusz Burzyński 552b07e795 🤖 Pick PR #58786 (Fixed declaration emit crash relate...) into release-5.5 (#58853)
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2024-06-14 18:21:52 -07:00
Andrew Branch 39c9eebf17 Pick #58857 to release-5.5 (#58858) 2024-06-14 10:07:22 -07:00
TypeScript BotandMateusz Burzyński a20c69e8df 🤖 Pick PR #58514 (Fixed a regression with reporting u...) into release-5.5 (#58841)
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2024-06-14 06:51:53 -07:00
602b098c03 🤖 Pick PR #58831 (Disable #57896 (Respect package.jso...) into release-5.5 (#58848)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-06-13 10:31:10 -07:00
2c5045854b 🤖 Pick PR #58758 (Resolve keyof and index operations ...) into release-5.5 (#58767)
Co-authored-by: Titian Cernicova-Dragomir <dragomirtitian@yahoo.com>
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2024-06-03 16:39:51 -07:00
TypeScript BotandTitian Cernicova-Dragomir 35d2952454 🤖 Pick PR #58750 (Preserve elided imports used in dec...) into release-5.5 (#58757)
Co-authored-by: Titian Cernicova-Dragomir <tcernicovad1@bloomberg.net>
2024-06-03 12:02:45 -07:00
TypeScript Bot 4ee5d0588d Bump version to 5.5.1-rc and LKG 2024-06-03 06:30:10 +00:00
TypeScript Bot 2f78af3113 Merge remote-tracking branch 'origin/main' into release-5.5 2024-06-03 06:12:08 +00:00
Wesley Wigham d4976c08b1 Clone node to remove location even when it has been modified if needed (#58706) 2024-05-31 15:16:16 -07:00
Anders Hejlsberg 6c058d4ef6 Properly account for this argument in intersection apparent type caching (#58677) 2024-05-31 14:45:07 -07:00
graphemecluster 3aaa614bb9 Fix: Include Values of Script Extensions for Unicode Property Value Expressions in Regular Expressions (#58615) 2024-05-31 16:15:45 -04:00
Ron Buckton 4c233f1ca4 In reScanSlashToken use charCodeChecked not codePointChecked (#58727) 2024-05-31 16:08:06 -04:00
Mateusz Burzyński 7f7ff923c9 Shorten error spans for errors reported on constructor declarations (#58061) 2024-05-31 12:31:38 -07:00
Sheetal Nandi 40583ff9df Mark file as skips typechecking if it contains ts-nocheck (#58593) 2024-05-31 12:18:43 -07:00
Mateusz BurzyńskiandJake Bailey 60991e0021 Fixed an issue with broken await using declarations in for of loops (#56466)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-05-31 10:55:28 -07:00
Titian Cernicova-Dragomir 389b579a83 Do not expand type references in keyof and index access (#58715) 2024-05-31 10:55:06 -07:00
Ben Lickly fc42002a10 Improve the performance of isolatedDeclarations quickfix (#58722) 2024-05-31 09:04:07 -07:00
Mateusz Burzyński f5b2d9b10e Unwrap NoInfer types when narrowing (#58292) 2024-05-31 08:34:34 -07:00
Titian Cernicova-Dragomir 22eaccba2a Recover from type reuse errors by falling back to inferred type printing (#58720) 2024-05-30 15:51:38 -07:00
Wesley Wigham bbfc1aa281 Enable JS emit for noCheck and noCheck for transpileModule (#58364) 2024-05-30 13:38:37 -07:00
Gabriela Araujo Britto b7d8809150 Revert PR 55371 (#58702) 2024-05-30 09:53:58 -07:00
Ron Buckton 718d79807c Do not infer yield* type from contextual TReturn (#58621) 2024-05-29 18:05:00 -04:00
Ron Buckton 2a9e4b8aa2 await using normative changes (#58624) 2024-05-29 17:34:00 -04:00
graphemeclusterandRon Buckton 0cc62c3007 Correct Regular Expressions Behavior Related to Annex B (#58320)
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
2024-05-29 16:14:10 -04:00
Jake Bailey fa58c615a4 Handle exported functions in ExportDeclarations for CJS/AMD/UMD emit (#58489) 2024-05-28 17:22:27 -07:00
Gabriela Araujo Britto 8f408cc120 Check resolution of tslib per file (#58654) 2024-05-28 16:45:51 -07:00
Anders Hejlsberg 1d026a9f69 Only resolve source return type when actually needed during inference (#58650) 2024-05-28 08:10:06 -07:00
graphemeclusterandRon Buckton d0ef028841 Improve Recovery of Unterminated Regular Expressions (#58289)
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
2024-05-24 15:46:26 -04:00
Titian Cernicova-Dragomir 842cf177db Improved errors for required parameters with default values in isolated declaration (#58637) 2024-05-24 11:50:47 -07:00
Titian Cernicova-Dragomir 6856735985 Remove members that are invalid computed properties. (#58646) 2024-05-24 10:25:46 -07:00
Sheetal Nandi 87918f52df Compact the tsbuild info by encoding info differently for some of the situations (#58641) 2024-05-24 09:38:24 -07:00
Isabel Duan cffc425ad7 fix53287 mergeSymbol checks if the resolved target can merge with the source (#58326) 2024-05-23 17:30:13 -07:00
Ron Buckton a1dfb1abe5 Fix class decorator detection in class fields transform (#58554) 2024-05-23 15:32:46 -04:00
Titian Cernicova-Dragomir 2b4e7e34e7 Improve reuse of nodes in signatures with type mapping (#58546) 2024-05-23 12:11:29 -07:00
Wesley WighamandTypeScript Bot b3f3bb3d38 Propagate the error any type in union and intersection construction (#58610)
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2024-05-23 09:38:57 -07:00
Titian Cernicova-Dragomir a203ace7af Ban inferred return type on async and generator functions. (#58628) 2024-05-23 09:29:49 -07:00
Titian Cernicova-Dragomir 8537bb72eb Error if type node uses inaccessible type in isolated declarations (#58620) 2024-05-22 15:51:11 -07:00
Wesley Wigham b682ed4504 Lock down computed names in object literals and classes under --isolatedDeclarations (#58596) 2024-05-22 12:28:07 -07:00
Matthieu Riegler 75342d8ca8 fix(58584): formatJSDocLink shouldn't introduce a trailing space when non link text. (#58585) 2024-05-21 14:53:52 -07:00
Sheetal Nandi cd40d26f01 Skip typechecking file when generating declaraiton to get d.ts signature for incremental build (#58592) 2024-05-21 14:09:44 -07:00
Sheetal Nandi 06841520db If module exports const enum, invalidate js files along with dts as it can impact js emit as well (#58594) 2024-05-21 13:57:57 -07:00
Wesley WighamandTypeScript Bot 6f72e24544 Fix elided var handling in declaration emit visibility checks (#58605)
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2024-05-21 13:44:35 -07:00
Andrew Branch 84ab39d7f0 Respect importModuleSpecifierPreference in sort order between fixes for the same symbol from different files (#58597) 2024-05-21 08:36:53 -07:00
Sheetal Nandi d84431e706 Handle root files listed in project config from referenced project to be same as if they were included through import (#58560) 2024-05-20 10:05:42 -07:00
Wesley Wigham 79a851426c Attempt to reuse type parameter constraint nodes (#58539) 2024-05-16 14:51:09 -07:00
Isabel Duan 4da470da37 fix56509: return type if tryCreateAwaitedType fails (#58547) 2024-05-16 14:02:15 -07:00