From b87ff7f6dd8a479e6192332c4de04fe4fbb935a9 Mon Sep 17 00:00:00 2001 From: matrumz Date: Sun, 17 Sep 2017 18:24:06 -0400 Subject: [PATCH] Added fileMustExist to DatabaseOptions As per documentation: https://github.com/JoshuaWise/better-sqlite3/wiki/API --- types/better-sqlite3/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/better-sqlite3/index.d.ts b/types/better-sqlite3/index.d.ts index 98de770ccf..530f5c3e53 100644 --- a/types/better-sqlite3/index.d.ts +++ b/types/better-sqlite3/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for better-sqlite3 3.1 // Project: http://github.com/JoshuaWise/better-sqlite3 // Definitions by: Ben Davies +// Mathew Rumsey // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -42,6 +43,7 @@ declare class Transaction { interface DatabaseOptions { memory?: boolean; readonly?: boolean; + fileMustExist?: boolean; } interface RegistrationOptions {