@types/contains-path
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Installation

npm install --save @types/contains-path

Summary

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

Details

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

index.d.ts

export = containsPath;

declare function containsPath(
    filepath: string,
    substr: string,
    options?: containsPath.Options,
): boolean;

declare namespace containsPath {
    interface Options {
        nocase?: boolean | undefined;
        partialMatch?: boolean | undefined;
    }
}

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by BendingBender.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/contains-path

Weekly Downloads

1,235

Version

1.0.4

License

MIT

Unpacked Size

3.18 kB

Total Files

5

Last publish

Collaborators

  • types