1 | // Type definitions for contains-path 1.0
|
2 | // Project: https://github.com/jonschlinkert/contains-path
|
3 | // Definitions by: BendingBender <https://github.com/BendingBender>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | export = containsPath;
|
7 |
|
8 | declare function containsPath(
|
9 | filepath: string,
|
10 | substr: string,
|
11 | options?: containsPath.Options
|
12 | ): boolean;
|
13 |
|
14 | declare namespace containsPath {
|
15 | interface Options {
|
16 | nocase?: boolean | undefined;
|
17 | partialMatch?: boolean | undefined;
|
18 | }
|
19 | }
|