File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/baselines/reference Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ class Public2 {
7676}
7777
7878function f1(x: Private & Private2) {
79- >f1 : (x: never ) => void
79+ >f1 : (x: Private & Private2 ) => void
8080>x : never
8181
8282 x.p; // Error, private constituent makes property inaccessible
@@ -86,7 +86,7 @@ function f1(x: Private & Private2) {
8686}
8787
8888function f2(x: Private & Protected) {
89- >f2 : (x: never ) => void
89+ >f2 : (x: Private & Protected ) => void
9090>x : never
9191
9292 x.p; // Error, private constituent makes property inaccessible
@@ -96,7 +96,7 @@ function f2(x: Private & Protected) {
9696}
9797
9898function f3(x: Private & Public) {
99- >f3 : (x: never ) => void
99+ >f3 : (x: Private & Public ) => void
100100>x : never
101101
102102 x.p; // Error, private constituent makes property inaccessible
@@ -345,7 +345,7 @@ function f7(x: ProtectedGeneric<{}> & ProtectedGeneric<{}>) {
345345}
346346
347347function f8(x: ProtectedGeneric<{a: void;}> & ProtectedGeneric2<{a:void;b:void;}>) {
348- >f8 : (x: never ) => void
348+ >f8 : (x: ProtectedGeneric<{ a: void;}> & ProtectedGeneric2<{ a: void; b: void;}> ) => void
349349>x : never
350350>a : void
351351>a : void
You can’t perform that action at this time.
0 commit comments