function clientFuncimport { clientFunc } from "https://deno.land/x/lightrpc@1.0.0/mod.ts"; clientFunc<T extends { [key: string]: (...args: any[]) => unknown; }>(endPoint: string,headers?: { [key: string]: string; },credentials?: RequestCredentials,): TType ParametersT extends { [key: string]: (...args: any[]) => unknown; }ParametersendPoint: stringoptionalheaders: { [key: string]: string; }optionalcredentials: RequestCredentialsReturnsT