UNPKG

oklink-api

Version:

This is a non-official JS SDK API for calling OKLink's API product.

11 lines (10 loc) 271 B
import { ApiError } from './apiError.js'; export declare class ApiResult { code: string; msg: string; data: any; error: ApiError | null; constructor(code: string, msg: string, data: any); get success(): boolean; getOrThrow(): any; }