@types/contains-path
Version:
TypeScript definitions for contains-path
34 lines (26 loc) • 922 B
Markdown
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/contains-path/index.d.ts)
````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](https://github.com/BendingBender).