()
| 48 | } |
| 49 | |
| 50 | async function loadSqlite(): Promise<any | null> { |
| 51 | try { |
| 52 | // @ts-ignore — better-sqlite3 is a dependency; defensive dynamic import |
| 53 | const mod: any = await import('better-sqlite3'); |
| 54 | return mod.default ?? mod; |
| 55 | } catch { |
| 56 | return null; |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | // ── Quantization ───────────────────────────────────────────────────────────── |
| 61 |
no outgoing calls
no test coverage detected