Skip to content

Commit

Permalink
Revision 0.32.3 (#703)
Browse files Browse the repository at this point in the history
* Evaluate Inferred Record Type

* Version
  • Loading branch information
sinclairzx81 authored Dec 24, 2023
1 parent 64c1e16 commit 483040c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinclair/typebox",
"version": "0.32.2",
"version": "0.32.3",
"description": "Json Schema Type Builder with Static Type Resolution for TypeScript",
"keywords": [
"typescript",
Expand Down
2 changes: 1 addition & 1 deletion src/type/record/record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function FromNumberKey<K extends TNumber, T extends TSchema>(_: K, T: T, options
// ------------------------------------------------------------------
// prettier-ignore
type RecordStatic<K extends TSchema, T extends TSchema, P extends unknown[]> = (
Record<Assert<Static<K>, PropertyKey>, Static<T, P>>
Evaluate<Record<Assert<Static<K>, PropertyKey>, Static<T, P>>>
)
// prettier-ignore
export interface TRecord<K extends TSchema = TSchema, T extends TSchema = TSchema> extends TSchema {
Expand Down

0 comments on commit 483040c

Please sign in to comment.