We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbcc06a commit 8e2c668Copy full SHA for 8e2c668
1 file changed
docs/guides/rpc.md
@@ -50,7 +50,7 @@ export type AppType = typeof route
50
On the Client side, import `hc` and `AppType` first.
51
52
```ts
53
-import { AppType } from '.'
+import type { AppType } from '.'
54
import { hc } from 'hono/client'
55
```
56
@@ -409,7 +409,7 @@ You can also use a React Hook library such as [SWR](https://swr.vercel.app).
409
import useSWR from 'swr'
410
411
import type { InferRequestType } from 'hono/client'
412
-import { AppType } from '../functions/api/[[route]]'
+import type { AppType } from '../functions/api/[[route]]'
413
414
const App = () => {
415
const client = hc<AppType>('/api')
0 commit comments