From 2133823bd369efa145474f6e558a82a960d48d52 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Fri, 11 Nov 2022 16:43:40 +0100 Subject: more plugin fixes --- src/utils/types.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/utils') 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; } -- cgit