UNPKG

@softwareventures/maintain-project

Version:

Automatically create and maintain TypeScript projects with standard settings for Software Ventures Limited

7 lines 419 B
import typescript from "typescript"; import { readProjectJson } from "../project/read-json.js"; import { mapResultFn } from "../result/result.js"; export async function readTsconfig(project) { return readProjectJson(project, "tsconfig.json").then(mapResultFn(json => typescript.parseJsonConfigFileContent(json, typescript.sys, project.path, undefined, "tsconfig.json"))); } //# sourceMappingURL=read-tsconfig.js.map