/
githubmirror
/
obsidian-importer
Обзор
Документация
Войти
/
githubmirror
/
obsidian-importer
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/node-sqlite.d.ts
21 строка
685 B
Steph Ango
Test the importers' conversions, and let them run without the dialog (#598)
05 авг 2026, 18:15
Не верифицирован
05 авг 2026, 18:15
2dbc429
Код
Авторство
О чём код?
/** * node:sqlite, which @types/node 20 predates. * * Only what the fixtures use: enough to build a notes database and read it * back. The plugin does not use it - it talks to the sqlite3 binary through * src/formats/apple-notes/sqlite. */ declare module 'node:sqlite' { interface StatementSync { run(...params: unknown[]): { changes: number, lastInsertRowid: number }; all(...params: unknown[]): Record<string, unknown>[]; get(...params: unknown[]): Record<string, unknown> | undefined; } export class DatabaseSync { constructor(path: string, options?: { readOnly?: boolean }); exec(sql: string): void; prepare(sql: string): StatementSync; close(): void; } }