From b17e0c7ccab06fca56f33983e90853d9a6217881 Mon Sep 17 00:00:00 2001 From: Tim Zhang <8032719+TimZhang2090@users.noreply.github.com> Date: Sat, 25 Nov 2023 22:56:37 +0800 Subject: [PATCH] doc(pluginutils): correct the return type of createFilter (#1633) --- packages/pluginutils/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pluginutils/README.md b/packages/pluginutils/README.md index e705cb912..8d87f5dba 100755 --- a/packages/pluginutils/README.md +++ b/packages/pluginutils/README.md @@ -100,7 +100,7 @@ export default function myPlugin(options = {}) { Constructs a filter function which can be used to determine whether or not certain modules should be operated upon. Parameters: `(include?: , exclude?: , options?: Object)`
-Returns: `String` +Returns: `(id: string | unknown) => boolean` #### `include` and `exclude`