ios-dev/comments/Home/node_modules/lowdb/lib/presets/node.d.ts

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>;