7 lines
218 B
TypeScript
7 lines
218 B
TypeScript
|
|
/**
|
||
|
|
* Traverses the directory tree until a package.json file is found.
|
||
|
|
*
|
||
|
|
* @throws if the root directory is reached, and no package.json is found.
|
||
|
|
*/
|
||
|
|
export declare function readPackage(): Record<string, unknown>;
|