mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Properly cache JSX element types for SFC expressions
This commit is contained in:
1 parent
53106cb5ed
commit
cf8daffea1
1 file changed
+1
-1
@@ -8264,7 +8264,7 @@ namespace ts {
|
||||
if (intrinsicAttributes !== unknownType) {
|
||||
paramType = intersectTypes(intrinsicAttributes, paramType);
|
||||
}
|
||||
return paramType;
|
||||
return links.resolvedJsxType = paramType;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user