mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
15 lines
456 B
TypeScript
15 lines
456 B
TypeScript
// Type definitions for resolve-pkg 1.0
|
|
// Project: https://github.com/sindresorhus/resolve-pkg
|
|
// Definitions by: Meno Abels <https://github.com/mabels>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.9
|
|
|
|
interface ResolvePkgOptions {
|
|
cwd?: boolean;
|
|
}
|
|
|
|
type ResolveFunction = (moduleId: string, options?: ResolvePkgOptions) => string;
|
|
declare const resolveFunction: ResolveFunction;
|
|
|
|
export = resolveFunction;
|