(filename: PathLike)
| 13 | |
| 14 | export class JSONFileSync<T> extends DataFileSync<T> { |
| 15 | constructor(filename: PathLike) { |
| 16 | super(filename, { |
| 17 | parse: JSON.parse, |
| 18 | stringify: (data: T) => JSON.stringify(data, null, 2), |
| 19 | }) |
| 20 | } |
| 21 | } |
nothing calls this directly
no outgoing calls
no test coverage detected