docs: fix typo in modules directory example (#21014)

This commit is contained in:
Gecolay 2023-05-22 21:44:17 +02:00 committed by GitHub
parent fd30cc1e89
commit 1f0d64c128
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ export default defineNuxtModule({
```ts [modules/hello/runtime/api-route.ts] ```ts [modules/hello/runtime/api-route.ts]
export default defineEventHandler(() => { export default defineEventHandler(() => {
return { hello: 'world' } return { hello: 'world' }
} })
``` ```
:: ::