(obj: any, indentation?: number)
| 14 | import { editConfigFile } from "../util/paths"; |
| 15 | |
| 16 | function stringify(obj: any, indentation?: number): string { |
| 17 | return JSON.stringify( |
| 18 | obj, |
| 19 | (key, value) => { |
| 20 | return value === null ? undefined : value; |
| 21 | }, |
| 22 | indentation, |
| 23 | ); |
| 24 | } |
| 25 | |
| 26 | export function addModel( |
| 27 | model: JSONModelDescription, |