mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
20 lines
505 B
TypeScript
20 lines
505 B
TypeScript
// Type definitions for contains-path 1.0
|
|
// Project: https://github.com/jonschlinkert/contains-path
|
|
// Definitions by: BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = containsPath;
|
|
|
|
declare function containsPath(
|
|
filepath: string,
|
|
substr: string,
|
|
options?: containsPath.Options
|
|
): boolean;
|
|
|
|
declare namespace containsPath {
|
|
interface Options {
|
|
nocase?: boolean;
|
|
partialMatch?: boolean;
|
|
}
|
|
}
|