(filePath: string)
| 61 | } |
| 62 | |
| 63 | function readJsonFileSync(filePath: string): unknown { |
| 64 | const content = fs.readFileSync(filePath, 'utf8').replace(/^\uFEFF/, ''); |
| 65 | return JSON.parse(content); |
| 66 | } |
| 67 | |
| 68 | function writeJsonFileSync( |
| 69 | filePath: string, |
no test coverage detected