From ffbb52512cd61764cfe04c1cf2707eb63d5e57bf Mon Sep 17 00:00:00 2001 From: megumin Date: Sun, 23 Oct 2022 19:09:02 +0100 Subject: fix: plugin dependencies not enabling (#150) --- src/utils/ChangeList.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/utils') diff --git a/src/utils/ChangeList.ts b/src/utils/ChangeList.ts index 4f6bbb8..cce37a3 100644 --- a/src/utils/ChangeList.ts +++ b/src/utils/ChangeList.ts @@ -32,6 +32,14 @@ export class ChangeList{ this.set.add(item); } + public add(item: T) { + return this.set.add(item); + } + + public remove(item: T) { + return this.set.delete(item); + } + public getChanges() { return this.set.values(); } -- cgit