aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/UndoManager.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-02-21 13:44:58 -0500
committerbob <bcz@cs.brown.edu>2019-02-21 13:44:58 -0500
commit81736366c3276af81d842709d248d4969e1d173e (patch)
tree11f30594213e473abe74c8d836b9a78d46937332 /src/client/util/UndoManager.ts
parent8f8cfc60098fbb87e791a86d76d7c312b28de276 (diff)
everything works.
Diffstat (limited to 'src/client/util/UndoManager.ts')
-rw-r--r--src/client/util/UndoManager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/UndoManager.ts b/src/client/util/UndoManager.ts
index 8e9e11a11..edb75b55f 100644
--- a/src/client/util/UndoManager.ts
+++ b/src/client/util/UndoManager.ts
@@ -25,7 +25,7 @@ function propertyDecorator(target: any, key: string | symbol) {
}
})
}
-export function undoBatch(target: any, key: string | symbol, descriptor: TypedPropertyDescriptor<any>): any {
+export function undoBatch(target: any, key: string | symbol, descriptor?: TypedPropertyDescriptor<any>): any {
if (!descriptor) {
propertyDecorator(target, key);
return;