Skip to content

Commit 7071094

Browse files
authored
fix: added a word in the example
The name of the variable was missing so I added it.
1 parent ecd8131 commit 7071094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/patterns/method-chaining.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Using method chaining will help save that new type refernce.
2323

2424
For example:
2525
```typescript
26-
const = new Elysia()
26+
const app = new Elysia()
2727
.state('build', 1)
2828
// Store is strictly typed
2929
.get('/', ({ store: { build } }) => build)

0 commit comments

Comments
 (0)