Skip to content

@vtj


@vtj / utils / createApi

Function: createApi()

createApi<R, D>(config): (data?, opts?) => Promise<R>

Defined in: packages/utils/src/request.ts:507

Type Parameters

R = any

D = any

Parameters

config

string | IRequestConfig

Returns

Function

Parameters

data?

D

opts?

IRequestConfig

Returns

Promise<R>

Released under the MIT License.