@coat/cli
Version:
TODO: See #3
16 lines (15 loc) • 741 B
TypeScript
import { CoatGlobalLockfileStrict, CoatGlobalLockfile, CoatLocalLockfile, CoatLocalLockfileStrict } from "../types/coat-lockfiles";
/**
* Adds all missing properties to a parsed global lockfile,
* to access these properties safely in following code
*
* @param lockfile The global lockfile that has been read from the disk
*/
export declare function getStrictCoatGlobalLockfile(lockfile: CoatGlobalLockfile): CoatGlobalLockfileStrict;
/**
* Adds all missing properties to a parsed local lockfile,
* to access these properties safely in following code
*
* @param lockfile The local lockfile that has been read from the disk
*/
export declare function getStrictCoatLocalLockfile(lockfile: CoatLocalLockfile): CoatLocalLockfileStrict;