UNPKG

node-pinboard

Version:
12 lines (11 loc) 308 B
import { Callback } from './types'; export declare const API_URL = "https://api.pinboard.in/v1"; interface Props { endpoint: string; qs: { [propName: string]: any; }; } declare type Get = (props: Props, cb: Callback) => Promise<object | void>; declare const get: Get; export default get;