From e266d50c0676276cb895b1ec95cebde4aca88ff2 Mon Sep 17 00:00:00 2001 From: sinclair Date: Wed, 29 Nov 2023 22:21:24 +0900 Subject: [PATCH] Revision 0.32.0 --- readme.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index 8d018d582..5d4c50bfa 100644 --- a/readme.md +++ b/readme.md @@ -1213,11 +1213,11 @@ const T = Type.Object({ y: Type.Number() }) -const X = Value.Clean(T, null) // const X = null +const X = Value.Clean(T, null) // const 'X = null -const Y = Value.Clean(T, { x: 1 }) // const Y = { x: 1 } +const Y = Value.Clean(T, { x: 1 }) // const 'Y = { x: 1 } -const Z = Value.Clean(T, { x: 1, y: 2, z: 3 }) // const Z = { x: 1, y: 2 } +const Z = Value.Clean(T, { x: 1, y: 2, z: 3 }) // const 'Z = { x: 1, y: 2 } ``` @@ -1232,11 +1232,11 @@ const T = Type.Object({ y: Type.Number({ default: 0 }) }) -const X = Value.Default(T, null) // const X = null - structurally invalid +const X = Value.Default(T, null) // const 'X = null - non-enumerable -const Y = Value.Default(T, { }) // const Y = { x: 0, y: 0 } +const Y = Value.Default(T, { }) // const 'Y = { x: 0, y: 0 } -const Z = Value.Default(T, { x: 1 }) // const Z = { x: 1, y: 0 } +const Z = Value.Default(T, { x: 1 }) // const 'Z = { x: 1, y: 0 } ```