Skip to content

Commit 3f3f454

Browse files
authored
📝doc: Fix syntax error in api.ts example Integration with Nuxt (#540)
1 parent 6bb8460 commit 3f3f454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/integrations/nuxt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default defineNuxtConfig({
3939

4040
```typescript [api.ts]
4141
export default () => new Elysia() // [!code ++]
42-
.get('/hello', () => ({ message: 'Hello world!' }) // [!code ++]
42+
.get('/hello', () => ({ message: 'Hello world!' })) // [!code ++]
4343
```
4444

4545
4. Use Eden Treaty in your Nuxt app:

0 commit comments

Comments
 (0)