Skip to content

Commit

Permalink
docs typo fixes related to the text schema type
Browse files Browse the repository at this point in the history
  • Loading branch information
SergiiSharpov committed Dec 15, 2024
1 parent f745767 commit bbeffa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/guides/schema-definition.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ The constructor takes an object as an argument, where each key-value pair repres
* }
*/
const schema = new Struct({
name: new text, // string
name: text, // string
age: u8, // Unsigned 8-bit integer, e.g. number between 0 and 255
address: new Struct({ // Nested struct
street: new text,
street: text,
city: text,
zip: text,
}),
Expand Down

0 comments on commit bbeffa9

Please sign in to comment.