(filePath: string, onError?: (error: string) => void)
| 13 | } |
| 14 | |
| 15 | export function readFileSync(filePath: string, onError?: (error: string) => void): AppConfigData { |
| 16 | return parse(readJsonFileSync(filePath), onError); |
| 17 | } |
| 18 | |
| 19 | export async function readOrCreateFile(filePath: string, onError?: (error: string) => void): Promise<AppConfigData> { |
| 20 | let error: Error | undefined; |
no test coverage detected