Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sinclairzx81 committed Mar 29, 2023
1 parent 8550c9d commit c5d5018
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,12 +444,12 @@ The following table lists the Standard TypeBox types. These types are fully comp
│ │ │ } │
│ │ │ │
├────────────────────────────────┼─────────────────────────────┼────────────────────────────────┤
const A = Type.Object({ │ type A = { │ const T = { │
│ x: Type.Number(), │ x: number, │ $ref: 'A'
const T = Type.Object({ │ type T = { │ const R = { │
│ x: Type.Number(), │ x: number, │ $ref: 'T'
y: Type.Number() │ y: number │ } │
│ }, { $id: 'A' }) | } │ │
│ }, { $id: 'T' }) | } │ │
│ │ │ │
const T = Type.Ref(A) │ type T = A │ │
const R = Type.Ref(T) │ type R = T │ │
│ │ │ │
│ │ │ │
│ │ │ │
Expand Down

0 comments on commit c5d5018

Please sign in to comment.