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 authored Aug 9, 2023
1 parent 3fd48ea commit 1922bcf
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 @@ -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 1922bcf

Please sign in to comment.