Added fileMustExist to DatabaseOptions

As per documentation: https://github.com/JoshuaWise/better-sqlite3/wiki/API
This commit is contained in:
matrumz
2017-09-17 18:24:06 -04:00
parent 6060fc0e1b
commit b87ff7f6dd
+2
View File
@@ -1,6 +1,7 @@
// Type definitions for better-sqlite3 3.1
// Project: http://github.com/JoshuaWise/better-sqlite3
// Definitions by: Ben Davies <https://github.com/Morfent>
// Mathew Rumsey <https://github.com/matrumz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
@@ -42,6 +43,7 @@ declare class Transaction {
interface DatabaseOptions {
memory?: boolean;
readonly?: boolean;
fileMustExist?: boolean;
}
interface RegistrationOptions {