1 parent 588c8ba commit 5158252Copy full SHA for 5158252
1 file changed
src/index.ts
@@ -10,8 +10,8 @@ interface IClient {
10
/**
11
* OpenRPC Client JS is a browser-compatible JSON-RPC client with multiple transports and
12
* multiple request managers to enable features like round-robin or fallback-by-position.
13
- *
14
- * ```javascript
+ * @example
+ * ```typescript
15
* import { RequestManager, HTTPTransport, Client } from '@open-rpc/client-js';
16
* const transport = new HTTPTransport('http://localhost:3333');
17
* const client = new Client(new RequestManager([transport]));
0 commit comments