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 Sep 11, 2023
1 parent ac87a14 commit c494647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/type-compiler/src/lib/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2308,8 +2308,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 c494647

Please sign in to comment.