UNPKG

declapract

Version:

A tool to declaratively define best practices, maintainable evolve them, and scalably enforce them.

7 lines (6 loc) 216 B
/// <reference types="node" /> import fs from 'fs'; export declare const readFile: typeof fs.readFile.__promisify__; export declare const readFileAsync: ({ filePath, }: { filePath: string; }) => Promise<string>;