Type for API methods that can be called
M extends keyof ApiMethods<F>
(params?: Opts<F>[M]): Promise<ApiResponse<ReturnType<ApiMethods<F>[M]>>>
url: string
URL for the API method
Type for API methods that can be called
M extends keyof ApiMethods<F>
(params?: Opts<F>[M]): Promise<ApiResponse<ReturnType<ApiMethods<F>[M]>>>
url: string
URL for the API method
import { type APIMethod } from ".";