mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
15 lines
404 B
TypeScript
15 lines
404 B
TypeScript
// Type definitions for which-pm 1.0
|
|
// Project: https://github.com/zkochan/which-pm#readme
|
|
// Definitions by: Jorge Gonzalez <https://github.com/jorgegonzalez>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.2
|
|
|
|
interface PMInfo {
|
|
name: string;
|
|
version?: string;
|
|
}
|
|
|
|
declare function whichpm(pkgPath: string): Promise<PMInfo | null>;
|
|
|
|
export = whichpm;
|