Skip to content

Commit e211505

Browse files
committed
docs: Pretty schema docs
1 parent f09294f commit e211505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/schema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const userSchema = schema({
2323
To interact with your collection using this schema, create two important derived types, the model type and the document type:
2424

2525
```ts
26-
type UserDocument = typeof userSchema[0];
26+
type UserDocument = (typeof userSchema)[0];
2727
const UserModel = papr.model('users', userSchema);
2828
```
2929

0 commit comments

Comments
 (0)