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.