kjelsrud.dev/node_modules/import-meta-resolve/lib/package-json-reader.d.ts

13 lines
284 B
TypeScript
Raw Normal View History

2023-07-19 21:31:30 +02:00
export default reader
export type ErrnoException = import('./errors.js').ErrnoException
declare namespace reader {
export {read}
}
/**
* @param {string} jsonPath
* @returns {{string: string|undefined}}
*/
declare function read(jsonPath: string): {
string: string | undefined
}