We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faf6312 commit 0987821Copy full SHA for 0987821
1 file changed
content/src/content/docs/docs/schema/basic-usage.mdx
@@ -1409,8 +1409,8 @@ This can lead to unexpected TypeScript behavior.
1409
import { Schema } from "effect"
1410
1411
// Attempting to define a struct with a conflicting index signature
1412
-// - The fixed property "a" is a number
1413
-// - The index signature requires all values to be strings
+// - The fixed property "a" is a string
+// - The index signature requires all values to be numbers
1414
const schema = Schema.Struct(
1415
{ a: Schema.String },
1416
{ key: Schema.String, value: Schema.Number }
0 commit comments