Download src/types/sqlite.d.ts from phucsd/PrintCal: direct link, hf CLI and curl.
- Browser
- Download file 425 Bytes
-
https://huggingface.co/spaces/phucsd/PrintCal/resolve/main/src/types/sqlite.d.ts
- Command line
-
hf download hf://spaces/phucsd/PrintCal/src/types/sqlite.d.ts
-
curl -L -o sqlite.d.ts https://huggingface.co/spaces/phucsd/PrintCal/resolve/main/src/types/sqlite.d.ts
425 Bytes
| declare module 'node:sqlite' { | |
| export class DatabaseSync { | |
| constructor(location: string, options?: { open?: boolean }); | |
| close(): void; | |
| exec(sql: string): void; | |
| prepare(sql: string): StatementSync; | |
| } | |
| export class StatementSync { | |
| all(...params: unknown[]): unknown[]; | |
| get(...params: unknown[]): unknown; | |
| run(...params: unknown[]): { changes: number; lastInsertRowid: number | bigint }; | |
| } | |
| } | |