4.0.3 • Published 6 months ago

@types/get-installed-path v4.0.3

Weekly downloads
1,024
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/get-installed-path

Summary

This package contains type definitions for get-installed-path (https://github.com/tunnckoCore/get-installed-path).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/get-installed-path.

index.d.ts

// Type definitions for get-installed-path 4.0
// Project: https://github.com/tunnckoCore/get-installed-path
// Definitions by: Jamie Magee <https://github.com/JamieMagee>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 3.4

export function getInstalledPath(name: string, opts?: Options): Promise<string>;
export function getInstalledPathSync(name: string, opts?: Options): string;

export interface Options {
    cwd?: string | undefined;
    local?: boolean | undefined;
    paths?: readonly string[] | undefined;
}

Additional Details

  • Last updated: Thu, 08 Jul 2021 12:02:03 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Jamie Magee.