Skip to content

Commit b17e0c7

Browse files
authored
doc(pluginutils): correct the return type of createFilter (rollup#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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy