Skip to content

Commit b17e0c7

Browse files
authored
doc(pluginutils): correct the return type of createFilter (#1633)
1 parent 30cd187 commit b17e0c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pluginutils/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export default function myPlugin(options = {}) {
100100
Constructs a filter function which can be used to determine whether or not certain modules should be operated upon.
101101

102102
Parameters: `(include?: <picomatch>, exclude?: <picomatch>, options?: Object)`<br>
103-
Returns: `String`
103+
Returns: `(id: string | unknown) => boolean`
104104

105105
#### `include` and `exclude`
106106

0 commit comments

Comments
 (0)