(filename: string)
| 34 | } |
| 35 | |
| 36 | export function readJson(filename: string): any { |
| 37 | return JSON.parse(readFile(filename)); |
| 38 | } |
| 39 | |
| 40 | export function writeJson(filename: string, data: any): void { |
| 41 | writeFile(filename, JSON.stringify(data, null, 2) + "\n"); |
no test coverage detected