File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -2450,7 +2450,11 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
2450
2450
}
2451
2451
function unionIfLazy(_paramType: Type) {
2452
2452
const isLazy = isLazyParameterByType(_paramType);
2453
- const paramType = isLazy ? getUnionType([_paramType, (_paramType as TypeReference).resolvedTypeArguments![0]], UnionReduction.None) : _paramType;
2453
+ const paramType = isLazy
2454
+ ? getUnionType([_paramType, (_paramType as TypeReference).resolvedTypeArguments![0]], UnionReduction.None)
2455
+ : isForceLazyParameterByType(_paramType)
2456
+ ? (_paramType as TypeReference).resolvedTypeArguments![0]
2457
+ : _paramType;
2454
2458
return paramType
2455
2459
}
2456
2460
function getFluentExtension(targetType: Type, name: string): Type | undefined {
You can’t perform that action at this time.
0 commit comments