From 083439f50a07de259eb9690cb0a3d8121f7c60bc Mon Sep 17 00:00:00 2001 From: Max Khokhryakov Date: Fri, 27 Mar 2026 15:57:58 +0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#74784=20Remove=20u?= =?UTF-8?q?nused=20Node.js=20type=20reference=20by=20@khokm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/sql.js/index.d.ts | 3 +-- types/sql.js/sql.js-tests.ts | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) 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";