DefinitelyTyped/types/spatialite/index.d.ts
2019-02-12 14:36:28 -08:00

21 lines
521 B
TypeScript

// Type definitions for spatialite 0.0
// Project: http://github.com/zhm/node-spatialite
// Definitions by: Arne Schubert <https://github.com/atd-schubert>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export {
OPEN_READONLY,
OPEN_READWRITE,
OPEN_CREATE,
cached,
RunResult,
Statement,
verbose } from 'sqlite3';
import {
Database as OriginalDatabase
} from 'sqlite3';
export class Database extends OriginalDatabase {
spatialite(cb: (err: Error) => void): void;
}