Skip to content

Commit

Permalink
Merge pull request #1541 from erikbrinkman/jtd-schema-type-values-fix
Browse files Browse the repository at this point in the history
fix #1537
  • Loading branch information
epoberezkin committed Apr 11, 2021
2 parents c6f5e3c + b4e0385 commit dba1aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/types/jtd-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export type JTDSchemaType<T, D extends Record<string, unknown> = Record<string,
true extends IsValues<T>
? T extends Record<string, infer V>
? {
values: JTDSchemaType<V>
values: JTDSchemaType<V, D>
}
: never
: // properties
Expand Down

0 comments on commit dba1aeb

Please sign in to comment.