dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
10 lines (9 loc) • 347 B
TypeScript
import { AxiosStatic } from 'axios';
import { IContext } from '../../types';
export interface ICreateContextInput {
axios: AxiosStatic;
endpoint?: string;
requestTimeoutInMs?: number;
token: string;
}
export declare const createContext: ({ axios, requestTimeoutInMs, endpoint, token, }: ICreateContextInput) => Readonly<IContext>;