Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus authored Dec 7, 2024
1 parent 20c3bc3 commit ea9c20a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ export default class Conf<T extends Record<string, any> = Record<string, unknown
ajvFormats(ajv);

const schema: JSONSchema = {
...options.rootSchema,
type: 'object',
properties: options.schema,
...options.rootSchema,
};

this.#validator = ajv.compile(schema);
Expand Down

0 comments on commit ea9c20a

Please sign in to comment.