1 | # Installation
|
2 | > `npm install --save @types/is-glob`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for is-glob (https://github.com/micromatch/is-glob).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-glob.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-glob/index.d.ts)
|
10 | ````ts
|
11 | // Type definitions for is-glob 4.0
|
12 | // Project: https://github.com/micromatch/is-glob
|
13 | // Definitions by: mrmlnc <https://github.com/mrmlnc>
|
14 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
15 |
|
16 | declare function isGlob(pattern?: string | string[] | null, options?: isGlob.Options): boolean;
|
17 |
|
18 | declare namespace isGlob {
|
19 | interface Options {
|
20 | /**
|
21 | * When `false` the behavior is less strict in determining if a pattern is a glob. Meaning that some patterns
|
22 | * that would return false may return true. This is done so that matching libraries like micromatch
|
23 | * have a chance at determining if the pattern is a glob or not.
|
24 | */
|
25 | strict?: boolean | undefined;
|
26 | }
|
27 | }
|
28 |
|
29 | export = isGlob;
|
30 |
|
31 | ````
|
32 |
|
33 | ### Additional Details
|
34 | * Last updated: Tue, 06 Jul 2021 21:33:41 GMT
|
35 | * Dependencies: none
|
36 | * Global values: none
|
37 |
|
38 | # Credits
|
39 | These definitions were written by [mrmlnc](https://github.com/mrmlnc).
|
40 |
|
\ | No newline at end of file |