mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
5 lines
151 B
TypeScript
5 lines
151 B
TypeScript
import { promises as fs } from 'fs';
|
|
|
|
export const readFile: (file: string) => Promise<string> = async (file) =>
|
|
await fs.readFile(file, 'utf-8');
|