Skip to content

Commit

Permalink
fix(type-compiler): Node InferType did not pass test 'isEntityName' (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-sa committed Oct 1, 2023
1 parent 8aee9a1 commit 74b92fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/type-compiler/src/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2322,8 +2322,8 @@ export class ReflectionTransformer implements CustomTransformer {
return node;
};

const updatedParameterType = visitEachChild(parameter.type, searchArgument, this.context);
if (found && isIdentifier(parameter.name)) {
const updatedParameterType = visitEachChild(parameter.type, searchArgument, this.context);
foundUsers.push({ type: updatedParameterType, parameterName: parameter.name });
}
}
Expand Down

0 comments on commit 74b92fc

Please sign in to comment.