Skip to content

Commit

Permalink
Merge pull request #88 from alpha0010/patch-2
Browse files Browse the repository at this point in the history
Export class types for flow
  • Loading branch information
theogravity authored Mar 22, 2019
2 parents 789e491 + 3aa7288 commit a1cd976
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,6 @@ declare class Database {
run(sql: string, ...params: DataType[]): Promise<Statement>;
};

export type { Database, Statement };

declare export function open(filename: string, options?: OpenOptions): Promise<Database>;

0 comments on commit a1cd976

Please sign in to comment.