UNPKG

922 BMarkdownView Raw
1# Installation
2> `npm install --save @types/contains-path`
3
4# Summary
5This package contains type definitions for contains-path (https://github.com/jonschlinkert/contains-path).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/contains-path.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/contains-path/index.d.ts)
10````ts
11export = containsPath;
12
13declare function containsPath(
14 filepath: string,
15 substr: string,
16 options?: containsPath.Options,
17): boolean;
18
19declare namespace containsPath {
20 interface Options {
21 nocase?: boolean | undefined;
22 partialMatch?: boolean | undefined;
23 }
24}
25
26````
27
28### Additional Details
29 * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
30 * Dependencies: none
31
32# Credits
33These definitions were written by [BendingBender](https://github.com/BendingBender).
34
\No newline at end of file