Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Jan 5, 2023
1 parent 145999c commit f5f87cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25430,7 +25430,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
}

function getTypeFromFlowType(flowType: FlowType) {
return flowType.flags === 0 ? (flowType as IncompleteType).type : flowType as Type;
return flowType.flags === 0 ? flowType.type : flowType as Type;
}

function createFlowType(type: Type, incomplete: boolean): FlowType {
Expand Down

0 comments on commit f5f87cc

Please sign in to comment.