mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
16 lines
484 B
TypeScript
16 lines
484 B
TypeScript
// Type definitions for resolve-pkg 1.0
|
|
// Project: https://github.com/sindresorhus/resolve-pkg
|
|
// Definitions by: Meno Abels <https://github.com/mabels>
|
|
// BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = resolvePkg;
|
|
|
|
declare function resolvePkg(moduleId: string, options?: resolvePkg.Options): string;
|
|
|
|
declare namespace resolvePkg {
|
|
interface Options {
|
|
cwd?: boolean;
|
|
}
|
|
}
|