You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`.gitignore` files matched by the ignore config are not used for the resulting filter function.
60
60
61
-
@returns A `Promise` for a filter function indicating whether a given path is ignored via a `.gitignore` file.
61
+
@returns A filter function indicating whether a given path is ignored via a `.gitignore` file.
62
62
63
63
@example
64
64
```
@@ -82,7 +82,7 @@ declare const globby: {
82
82
/**
83
83
@param patterns - See supported `minimatch` [patterns](https://github.com/isaacs/minimatch#usage).
84
84
@param options - See the [`fast-glob` options](https://github.com/mrmlnc/fast-glob#options-1) in addition to the ones in this package.
85
-
@returnsA `Promise<Array>` of matching paths.
85
+
@returnsThe matching paths.
86
86
87
87
@example
88
88
```
@@ -97,17 +97,17 @@ declare const globby: {
97
97
```
98
98
*/
99
99
(
100
-
patterns: string|ReadonlyArray<string>,
100
+
patterns: string|readonlystring[],
101
101
options?: globby.GlobbyOptions
102
102
): Promise<string[]>;
103
103
104
104
/**
105
105
@param patterns - See supported `minimatch` [patterns](https://github.com/isaacs/minimatch#usage).
106
106
@param options - See the [`fast-glob` options](https://github.com/mrmlnc/fast-glob#options-1) in addition to the ones in this package.
107
-
@returnsAn `Array` of matching paths.
107
+
@returnsThe matching paths.
108
108
*/
109
109
sync(
110
-
patterns: string|ReadonlyArray<string>,
110
+
patterns: string|readonlystring[],
111
111
options?: globby.GlobbyOptions
112
112
): string[];
113
113
@@ -116,10 +116,10 @@ declare const globby: {
116
116
117
117
@param patterns - See supported `minimatch` [patterns](https://github.com/isaacs/minimatch#usage).
118
118
@param options - See the [`fast-glob` options](https://github.com/mrmlnc/fast-glob#options-1) in addition to the ones in this package.
119
-
@returnsAn `Array<Object>` in the format `{ pattern: string, options: Object }`, which can be passed as arguments to [`fast-glob`](https://github.com/mrmlnc/fast-glob). This is useful for other globbing-related packages.
119
+
@returns Object in the format `{ pattern: string, options: Object }`, which can be passed as arguments to [`fast-glob`](https://github.com/mrmlnc/fast-glob). This is useful for other globbing-related packages.
120
120
*/
121
121
generateGlobTasks(
122
-
patterns: string|ReadonlyArray<string>,
122
+
patterns: string|readonlystring[],
123
123
options?: globby.GlobbyOptions
124
124
): globby.GlobTask[];
125
125
@@ -130,10 +130,10 @@ declare const globby: {
130
130
131
131
@param patterns - See supported `minimatch` [patterns](https://github.com/isaacs/minimatch#usage).
132
132
@param options - See the [`node-glob` options](https://github.com/isaacs/node-glob#globhasmagicpattern-options).
133
-
@returnsA boolean of whether there are any special glob characters in the `patterns`.
133
+
@returnsWhether there are any special glob characters in the `patterns`.
0 commit comments