Skip to content

ApiMethodName<TApi>

The names of the function members of an API, which are exactly the keys a typed ApiContract has.

Import:

import type { ApiMethodName } from '@mnaoumov/typescript-lib/api-contract';

Signature:

export type ApiMethodName<TApi extends object>

Signature:

type ApiMethodName<TApi> = keyof ApiMethods<TApi> & string

Type: keyof ApiMethods<TApi> & string


Links to this page: