Skip to content

Commit f5ce2d2

Browse files
authored
Apply suggestions from code review
1 parent f8bb3f8 commit f5ce2d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugins/other/visitor-plugin-common/src/base-types-visitor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ export class BaseTypesVisitor<
466466
InputObjectTypeDefinition(node: InputObjectTypeDefinitionNode): string {
467467
if (this.config.onlyEnums) return '';
468468

469-
// Why the heck is directive.name a string and not { value: string } at runtime ?!
469+
// Why the heck is node.name a string and not { value: string } at runtime ?!
470470
if (isOneOfInputObjectType(this._schema.getType(node.name as unknown as string))) {
471471
return this.getInputObjectOneOfDeclarationBlock(node).string;
472472
}

0 commit comments

Comments
 (0)