@softwareventures/maintain-project
Version:
Automatically create and maintain TypeScript projects with standard settings for Software Ventures Limited
8 lines (7 loc) • 475 B
TypeScript
import type { Result } from "../result/result.js";
import type { ReadNodeVersionsFailureReason } from "../node/read.js";
import type { Project } from "./project.js";
import type { ReadJsonFailureReason } from "./read-json.js";
export type ReadProjectResult = Result<ReadProjectFailureReason, Project>;
export type ReadProjectFailureReason = ReadJsonFailureReason | ReadNodeVersionsFailureReason;
export declare function readProject(path: string): Promise<ReadProjectResult>;