You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot assign a 'protected' constructor type to a 'public' constructor type.
3
3
tests/cases/conformance/classes/constructorDeclarations/classConstructorAccessibility3.ts(22,1): error TS2322: Type 'typeof Qux' is not assignable to type 'typeof Foo'.
4
4
Cannot assign a 'private' constructor type to a 'public' constructor type.
5
-
tests/cases/conformance/classes/constructorDeclarations/classConstructorAccessibility3.ts(26,1): error TS2322: Type 'typeof Foo' is not assignable to type 'typeof Baz'.
6
-
Cannot assign a 'public' constructor type to a 'protected' constructor type.
7
-
tests/cases/conformance/classes/constructorDeclarations/classConstructorAccessibility3.ts(27,1): error TS2322: Type 'typeof Bar' is not assignable to type 'typeof Baz'.
8
-
Cannot assign a 'public' constructor type to a 'protected' constructor type.
9
5
tests/cases/conformance/classes/constructorDeclarations/classConstructorAccessibility3.ts(28,1): error TS2322: Type 'typeof Qux' is not assignable to type 'typeof Baz'.
10
6
Cannot assign a 'private' constructor type to a 'protected' constructor type.
11
-
tests/cases/conformance/classes/constructorDeclarations/classConstructorAccessibility3.ts(32,1): error TS2322: Type 'typeof Foo' is not assignable to type 'typeof Qux'.
12
-
Cannot assign a 'public' constructor type to a 'private' constructor type.
13
-
tests/cases/conformance/classes/constructorDeclarations/classConstructorAccessibility3.ts(33,1): error TS2322: Type 'typeof Bar' is not assignable to type 'typeof Qux'.
14
-
Cannot assign a 'public' constructor type to a 'private' constructor type.
15
-
tests/cases/conformance/classes/constructorDeclarations/classConstructorAccessibility3.ts(34,1): error TS2322: Type 'typeof Baz' is not assignable to type 'typeof Qux'.
16
-
Cannot assign a 'protected' constructor type to a 'private' constructor type.
0 commit comments