Skip to content

Commit bbeffa9

Browse files
committedDec 15, 2024
docs typo fixes related to the text schema type
1 parent f745767 commit bbeffa9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/docs/guides/schema-definition.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ The constructor takes an object as an argument, where each key-value pair repres
6868
* }
6969
*/
7070
const schema = new Struct({
71-
name: new text, // string
71+
name: text, // string
7272
age: u8, // Unsigned 8-bit integer, e.g. number between 0 and 255
7373
address: new Struct({ // Nested struct
74-
street: new text,
74+
street: text,
7575
city: text,
7676
zip: text,
7777
}),

0 commit comments

Comments
 (0)