Skip to content

Commit ecead65

Browse files
authored
Add check for TS error 2820 (#1051)
1 parent 8139e18 commit ecead65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/modules/types.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ const internals = {
4040
2559, // Type T has no properties in common with type U
4141
2769, // No overload matches this call
4242
2673, // Constructor of class is private
43-
2674 // Constructor of class is protected
43+
2674, // Constructor of class is protected
44+
2820 // Type T is not assignable to type U. Did you mean V?
4445
]
4546
};
4647

0 commit comments

Comments
 (0)