Commit 4360e41
Sync changes from upstream (#3)
* Port "Infer from annotated return type nodes before assigning contextual parameter types" (microsoft#1804)
* Port "make exported destructured discriminated union narrowing work" (microsoft#1806)
Co-authored-by: =?UTF-8?q?Michal=20Mar=C5=A1=C3=A1lek?= <[email protected]>
* Implement more of doc highlights / find all refs (microsoft#1796)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
* Port "Provide string completions for `in` keyword checks" (microsoft#1803)
* Port "Fix #61098" (microsoft#1810)
Co-authored-by: Hans Brende <[email protected]>
* Port "fix(61258): Renaming namespace with const enum doesn't update enum references" (microsoft#1811)
Co-authored-by: "Oleksandr T." <[email protected]>
* Update dependencies (microsoft#1785)
* Mark libReplacement default as false (microsoft#1812)
* Port "Deemphasize old JSX transform" (microsoft#1809)
Co-authored-by: "Sebastian \"Sebbie\" Silbermann" <[email protected]>
* Port "fix(checker): report error when using bigint as enum key" (microsoft#1814)
Co-authored-by: magic-akari <[email protected]>
* Port "explicitly disallow `using` in ambient contexts" (microsoft#1815)
Co-authored-by: =?UTF-8?q?Ren=C3=A9?= <[email protected]>
* Port 'Issue "'{0}' declarations can only be declared inside a block." for block-scoped variables in presence of parse errors' (microsoft#1816)
* Port "Avoid resolving source prop type when the target is `unknown`/`any`" (microsoft#1817)
* Port "Allow trailing commas after import attributes in `ImportType`" (microsoft#1818)
* Port "Fix BigInt literal error in ambient contexts when targeting < ES2020" (microsoft#1819)
* Port "Stop reassigning `.valueDeclaration` to avoid replacing earlier declarations with late ones" (microsoft#1813)
* Port "Keep accessors as accessors in emitted anonymous class declarations" (microsoft#1822)
* Port "Fixed crash in `hasVisibleDeclarations` related to binding elements" (microsoft#1820)
* Port "Properly disallow `yield` in bodyless arrows" (microsoft#1825)
* Port "Account for right operands & fix a weird error message for leftmost nullish literals in checkNullishCoalesceOperands" (microsoft#1805)
Co-authored-by: Chiri Vulpes <[email protected]>
* Remove JSDoc handling from the binder (microsoft#1827)
* Port "`arguments` should not be allowed in class static block" (microsoft#1828)
Co-authored-by: Zzzen <[email protected]>
* Port "check usage before declaration for decorators" (microsoft#1829)
Co-authored-by: Zzzen <[email protected]>
* Fix nil pointer dereference in snapshotFS.GetFile for non-existent files (microsoft#1830)
* Fix translation bug causing `unknown` infer-extends constraint to be emitted (microsoft#1831)
* Port "Fixed nullish coalesce operator's precedence" (microsoft#1824)
* Fixed an issue with type params being renamed incorrectly (microsoft#1833)
* Port "Add support for `import defer` proposal" (microsoft#1826)
Co-authored-by: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= <[email protected]>
* Bump github/codeql-action from 3.30.5 to 3.30.6 in the github-actions group across 1 directory (microsoft#1832)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Port "Preserve type parameter constraint in emitted mapped types while preserving their distributivity" (microsoft#1834)
* disable create-cache ci job
* merge fixup
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Mateusz Burzyński <[email protected]>
Co-authored-by: =?UTF-8?q?Michal=20Mar=C5=A1=C3=A1lek?= <[email protected]>
Co-authored-by: Jake Bailey <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: Hans Brende <[email protected]>
Co-authored-by: "Oleksandr T." <[email protected]>
Co-authored-by: "Sebastian \"Sebbie\" Silbermann" <[email protected]>
Co-authored-by: magic-akari <[email protected]>
Co-authored-by: =?UTF-8?q?Ren=C3=A9?= <[email protected]>
Co-authored-by: Chiri Vulpes <[email protected]>
Co-authored-by: Zzzen <[email protected]>
Co-authored-by: John Xu <[email protected]>
Co-authored-by: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 0f1d899 commit 4360e41
File tree
347 files changed
+26921
-32540
lines changed- .github/workflows
- _extension
- _packages
- api/src
- ast/src
- _tools
- internal
- api/encoder
- ast
- binder
- checker
- fourslash
- _scripts
- tests
- gen
- ls
- parser
- printer
- project
- scanner
- testutil/harnessutil
- transformers
- declarations
- jsxtransforms
- moduletransforms
- tstransforms
- tsoptions
- testdata/baselines/reference
- fourslash
- documentHighlights
- findAllReferences
- submoduleAccepted/conformance
- submodule
- compiler
- conformance
- fourslash/findRenameLocations
- tscWatch/commandLine
- tsc/commandLine
- tsoptions/commandLineParsing/parseCommandLine
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
347 files changed
+26921
-32540
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
| 109 | + | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
547 | | - | |
548 | 547 | | |
549 | 548 | | |
550 | 549 | | |
| |||
921 | 920 | | |
922 | 921 | | |
923 | 922 | | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
924 | 935 | | |
925 | 936 | | |
926 | 937 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1992 | 1992 | | |
1993 | 1993 | | |
1994 | 1994 | | |
1995 | | - | |
| 1995 | + | |
1996 | 1996 | | |
1997 | 1997 | | |
1998 | 1998 | | |
1999 | 1999 | | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
2000 | 2005 | | |
2001 | 2006 | | |
2002 | 2007 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| |||
0 commit comments