Skip to content

Commit 8870838

Browse files
committed
Accept new baselines
1 parent a4c8b6e commit 8870838

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/baselines/reference/mixinAccessModifiers.types

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Public2 {
7676
}
7777

7878
function 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

8888
function 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

9898
function 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

347347
function 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

0 commit comments

Comments
 (0)