UNPKG

@ant-basement/core

Version:

Ant Basement JavaScript SDK Core

21 lines (20 loc) 639 B
import { HTTPTransport } from './transport'; export interface Logger { debug(message?: any, ...optionalParams: any[]): void; error(message?: any, ...optionalParams: any[]): void; warn(message?: any, ...optionalParams: any[]): void; info(message?: any, ...optionalParams: any[]): void; log(message?: any, ...optionalParams: any[]): void; } export interface GenericObject<T> { [key: string]: T; } export interface BasementOptions { spaceId: string; timeout?: string | number; endpoint: string; httpClient?: any; httpTransport?: typeof HTTPTransport; userId?: string; [key: string]: any; }