SimplifiedFetch

Home > simplified-fetch > API > init

API.init() method

init Api or [newName] on globalThis

Signature:

static init(baseConfig: BaseConfig, apis: APIConfig<Record<string, request>>): void;

Parameters

Parameter Type Description
baseConfig BaseConfig BaseConfig
apis APIConfig<Record<string, request>> APIConfig

Returns:

void