UNPKG

@genshin-kit/core

Version:

An API wrapper for fetching player data of Genshin Impact from any servers.

6 lines (5 loc) 260 B
import { Method } from 'axios'; /** * @param path The function will use `${apiEndpoint}/${path}` as the request url, unless `path` starts with `http` */ export declare function request(this: any, method: Method, path: string, data?: any): Promise<any>;