Frontend/25_02_24/node_modules/lowdb/lib/presets/node.d.ts
2025-02-25 09:55:29 +01:00

6 lines
348 B
TypeScript

/// <reference types="node" resolution-mode="require"/>
import { PathLike } from 'node:fs';
import { Low, LowSync } from '../core/Low.js';
export declare function JSONFilePreset<Data>(filename: PathLike, defaultData: Data): Promise<Low<Data>>;
export declare function JSONFileSyncPreset<Data>(filename: PathLike, defaultData: Data): LowSync<Data>;