UNPKG

fsf

Version:

A typesafe websocket RPC library which thins the borders between clients and servers.

11 lines (7 loc) 182 B
import { Client } from "../../src"; import { API } from "../api"; const client = Client<API>(); const main = async () => { console.log(await client.errorFunction()); }; main();