Properly cache JSX element types for SFC expressions

This commit is contained in:
Ryan Cavanaugh
2016-01-06 13:21:03 -08:00
parent 53106cb5ed
commit cf8daffea1

View File

@@ -8264,7 +8264,7 @@ namespace ts {
if (intrinsicAttributes !== unknownType) {
paramType = intersectTypes(intrinsicAttributes, paramType);
}
return paramType;
return links.resolvedJsxType = paramType;
}
}