Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
willosborne committed Apr 29, 2024
1 parent eb7c299 commit 1b0d22c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/commands/generate/schema-directory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { initLogger } from '../helper.js';
* Can merge objects recursively and will handle circular references.
*/
export class SchemaDirectory {
private readonly schemas: Map<string, any> = new Map<string, any>();
private readonly schemas: Map<string, object> = new Map<string, object>();
private readonly logger: Logger;

/**
Expand Down Expand Up @@ -79,7 +79,7 @@ export class SchemaDirectory {
return mergeSchemas(innerDef, definition);
}

private getMissingSchemaPlaceholder(reference: string): object {
private getMissingSchemaPlaceholder(reference: string) {
return {
properties: {
'missing-value': `MISSING OBJECT, ref: ${reference} could not be resolved`
Expand Down

0 comments on commit 1b0d22c

Please sign in to comment.