7 lines
295 B
TypeScript
7 lines
295 B
TypeScript
|
interface Options {
|
||
|
throwNotFound?: boolean;
|
||
|
}
|
||
|
declare function readFile(filepath: string, options?: Options): Promise<string | null>;
|
||
|
declare function readFileSync(filepath: string, options?: Options): string | null;
|
||
|
export { readFile, readFileSync };
|
||
|
//# sourceMappingURL=readFile.d.ts.map
|