We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5992f08 commit 4ed89abCopy full SHA for 4ed89ab
docs/plugins/eden/fetch.md
@@ -46,7 +46,7 @@ Then import the server type, and consume Elysia API on client:
46
import { edenFetch } from '@elysiajs/eden'
47
import type { App } from './server'
48
49
-const app = edenFetch<App>('http://localhost:8080')
+const fetch = edenFetch<App>('http://localhost:8080')
50
51
// response type: 'Hi Elysia'
52
const pong = await fetch('/', {})
0 commit comments