aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/types.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/types.ts b/src/utils/types.ts
index 689baa7..dd0a9c5 100644
--- a/src/utils/types.ts
+++ b/src/utils/types.ts
@@ -34,7 +34,10 @@ export interface Patch {
plugin: string;
find: string;
replacement: PatchReplacement | PatchReplacement[];
+ /** Whether this patch should apply to multiple modules */
all?: boolean;
+ /** Do not warn if this patch did no changes */
+ noWarn?: boolean;
predicate?(): boolean;
}