(data: any, path: string)
| 15 | } |
| 16 | |
| 17 | function writeJson(data: any, path: string): void { |
| 18 | fs.writeFileSync(path, JSON.stringify(data), { encoding: "utf-8" }); |
| 19 | } |
| 20 | |
| 21 | function getFnName(func: Function | string): string { |
| 22 | return typeof func === 'string' ? func : func.name; |
no outgoing calls
no test coverage detected