Skip to content

Documentation / @super-line/client / ClientMethods

Type Alias: ClientMethods<C, R> ​

ClientMethods<C, R> = { [K in Exclude<keyof Requests<C, R>, ReservedClientKeys>]: (input: ClientInput<Requests<C, R>[K]>, opts?: CallOptions) => Promise<Output<Requests<C, R>[K]>> }

Defined in: index.ts:93

The request-calling half of SuperLineClient (one method per request in the role's surface).

Type Parameters ​

C ​

C extends Contract

R ​

R extends RoleOf<C>

Released under the MIT License.