Skip to content

Commit

Permalink
Composite Evaluate
Browse files Browse the repository at this point in the history
  • Loading branch information
sinclairzx81 committed Mar 23, 2023
1 parent 1cbb5c6 commit e16fceb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,15 +325,15 @@ The following table lists the Standard TypeBox types. These types are fully comp
│ │ │ } │
│ │ │ │
├────────────────────────────────┼─────────────────────────────┼────────────────────────────────┤
const T = Type.Composite([ │ type T = { │ const T = { │
const T = Type.Composite([ │ type I = { │ const T = { │
│ Type.Object({ │ x: numbertype: 'object', │
x: Type.Number() │ y: numberrequired: ['x', 'y'], │
│ }), │ } properties: { │
│ Type.Object({ │ x: { │
x: Type.Number() │ } & { required: ['x', 'y'], │
│ }), │ y: numberproperties: { │
│ Type.Object({ │ } │ x: { │
│ y: Type.Number() │ │ type: 'number'
│ }) │ │ }, │
│ ]) │ │ y: { │
│ │ │ type: 'number'
│ }) │ type T = { │ }, │
│ ]) │ [K in keyof I]: I[K]y: { │
│ │ }type: 'number'
│ │ │ } │
│ │ │ } │
│ │ │ } │
Expand Down

0 comments on commit e16fceb

Please sign in to comment.