1 | # Installation
|
2 | > `npm install --save @types/contains-path`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for contains-path (https://github.com/jonschlinkert/contains-path).
|
6 |
|
7 | # Details
|
8 | Files 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
|
11 | export = containsPath;
|
12 |
|
13 | declare function containsPath(
|
14 | filepath: string,
|
15 | substr: string,
|
16 | options?: containsPath.Options,
|
17 | ): boolean;
|
18 |
|
19 | declare 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
|
33 | These definitions were written by [BendingBender](https://github.com/BendingBender).
|
34 |
|
\ | No newline at end of file |