MCPcopy Create free account
hub / github.com/Snapchat/Valdi / updateTsConfigFile

Function updateTsConfigFile

npm_modules/cli/src/commands/projectsync.ts:298–304  ·  view source on GitHub ↗
(file: JSONCFile<any>, path: JSONPath, value: any)

Source from the content-addressed store, hash-verified

296}
297
298function updateTsConfigFile(file: JSONCFile<any>, path: JSONPath, value: any): JSONCFile<any> {
299 return file.updating(path, value, {
300 formattingOptions: {
301 insertSpaces: true,
302 },
303 });
304}
305
306async function processTsConfigDir(
307 tsConfigDir: TsConfigDir,

Callers 1

processTsConfigDirFunction · 0.85

Calls 1

updatingMethod · 0.80

Tested by

no test coverage detected