quotr
Version:
A Node.js CLI for displaying stock exchange quotes
16 lines • 418 B
JavaScript
declare class Connection {
close(): void;
}
declare class Runnable {
get(id:string): Runnable;
filter(filter:any): Runnable;
insert(obj:any): Runnable;
replace(obj:any): Runnable;
run(connection:Connection, callback:(error:any, next:any) => void): void;
}
declare class Database {
table(name:string): Runnable;
}
declare module rethinkdb {
declare function db(dbName:string):Database;
}