Skip to content

Commit

Permalink
style nit
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Dec 12, 2024
1 parent 4d9d7c3 commit fd0aa49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transforms/utils/replaceType.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function replaceReactType(
const { typeName } = node;

return (
(sourceIdentifierImports.length &&
(sourceIdentifierImports.length > 0 &&
typeName.type === "Identifier" &&
typeName.name === sourceIdentifier) ||
(typeName.type === "TSQualifiedName" &&
Expand Down

0 comments on commit fd0aa49

Please sign in to comment.