Skip to content

Commit 8664390

Browse files
committed
Rename unknownType to errorType in merged code
1 parent e22a9d6 commit 8664390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10612,7 +10612,7 @@ namespace ts {
1061210612
const targetTypes = (target as IntersectionType).types;
1061310613
const intrinsicAttributes = getJsxType(JsxNames.IntrinsicAttributes, errorNode);
1061410614
const intrinsicClassAttributes = getJsxType(JsxNames.IntrinsicClassAttributes, errorNode);
10615-
if (intrinsicAttributes !== unknownType && intrinsicClassAttributes !== unknownType &&
10615+
if (intrinsicAttributes !== errorType && intrinsicClassAttributes !== errorType &&
1061610616
(contains(targetTypes, intrinsicAttributes) || contains(targetTypes, intrinsicClassAttributes))) {
1061710617
// do not report top error
1061810618
return result;

0 commit comments

Comments
 (0)