diff --git a/types/sql.js/index.d.ts b/types/sql.js/index.d.ts index bab3e65b8b15f7..e3a66392f46677 100644 --- a/types/sql.js/index.d.ts +++ b/types/sql.js/index.d.ts @@ -1,4 +1,3 @@ -/// /// type SqlValue = number | string | Uint8Array | null; @@ -44,7 +43,7 @@ declare class Database { * * @param data An array of bytes representing an SQLite database file */ - constructor(data?: ArrayLike | Buffer | null); + constructor(data?: ArrayLike | null); /** * Close the database, and all associated prepared statements. The diff --git a/types/sql.js/sql.js-tests.ts b/types/sql.js/sql.js-tests.ts index e7fcadf5889b3b..65d84cdaa5fc22 100644 --- a/types/sql.js/sql.js-tests.ts +++ b/types/sql.js/sql.js-tests.ts @@ -1,3 +1,5 @@ +/// + import fs = require("fs"); import initSqlJs, { Database as SqlJsDatabase } from "sql.js";