123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- interface Ignore {
-
- add(pattern: string | Ignore): Ignore
-
- add(patterns: (string | Ignore)[]): Ignore
-
- filter(paths: string[]): string[]
-
- createFilter(): (path: string) => boolean
-
- ignores(pathname: string): boolean
- }
- interface Options {
- ignorecase?: boolean
- }
- declare function ignore(options?: Options): Ignore
- export default ignore
|