Skip to content

Commit 6a67663

Browse files
authored
Import server in README example (#5)
1 parent da7d737 commit 6a67663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ type Methods = {
3939
The server accepts a dictionary of resolvers.
4040

4141
```ts
42-
import { createClient } from "@borderlesslabs/json-rpc";
42+
import { createServer } from "@borderlesslabs/json-rpc";
4343

4444
const server = createServer<Methods>({
4545
hello: _ => "Hello World!",

0 commit comments

Comments
 (0)