Skip to content

Commit

Permalink
⛏️Fixed types for client
Browse files Browse the repository at this point in the history
  • Loading branch information
dmdin committed Feb 13, 2025
1 parent b7f172e commit d58e90d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "commonjs",
"name": "@chord-ts/rpc",
"version": "1.0.0-beta.23",
"version": "1.0.0-beta.24",
"author": "Din Dmitriy @dmdin",
"description": "💎 Cutting edge transport framework vanishing borders between frontend and backend",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { buildRequest } from '../specs';
* ```
*/

export function client<T extends IRPC.Schema>(init: IRPC.Init): IRPC.Builder<T> {
export function client<T>(init: IRPC.Init): IRPC.Builder<T> {
const rpc = new RPC(init);
const builder = new Builder(rpc);
return builder as unknown as IRPC.Builder<T>;
Expand Down

0 comments on commit d58e90d

Please sign in to comment.