Skip to content

Commit 7858b71

Browse files
authored
Update schema.md
Removes unused code on example
1 parent 9cb8a19 commit 7858b71

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

docs/concept/schema.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,8 @@ Sometimes you might find yourself reusing the same type multiple times.
114114

115115
Using [reference models](/patterns/reference-models), you can name your model and use it by referencing the name:
116116
```typescript
117-
// auth.model.ts
118117
import { Elysia } from 'elysia'
119118

120-
// index.ts
121-
import { Elysia } from 'elysia'
122-
import { authModel } from './auth.model.ts'
123-
124119
const app = new Elysia()
125120
.model({
126121
sign: t.Object({

0 commit comments

Comments
 (0)