Skip to content

Commit

Permalink
chore: update official sqlite3 typings
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 committed Jun 14, 2019
1 parent 2f59984 commit 04df1d4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/typings/vscode-sqlite3.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@

/// <reference types="node" />

declare module 'vscode-sqlite3' {
declare module 'sqlite3' {
import events = require("events");

export const OPEN_READONLY: number;
export const OPEN_READWRITE: number;
export const OPEN_CREATE: number;
export const OPEN_SHAREDCACHE: number;
export const OPEN_PRIVATECACHE: number;
export const OPEN_URI: number;

export const cached: {
Database(filename: string, callback?: (this: Database, err: Error | null) => void): Database;
Expand Down Expand Up @@ -100,6 +103,9 @@ declare module 'vscode-sqlite3' {
OPEN_READONLY: number;
OPEN_READWRITE: number;
OPEN_CREATE: number;
OPEN_SHAREDCACHE: number;
OPEN_PRIVATECACHE: number;
OPEN_URI: number;
cached: typeof cached;
RunResult: RunResult;
Statement: typeof Statement;
Expand Down

0 comments on commit 04df1d4

Please sign in to comment.