Skip to content

Commit 728511f

Browse files
authored
fix(command): equals of undoable command should have a parameter of type unknown (#104)
1 parent d2f1fcb commit 728511f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/impl/command/UndoableCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export abstract class UndoableCommand<T extends UndoableSnapshot = undefined> ex
6464
return undefined;
6565
}
6666

67-
public equals(undoable: Undoable): boolean {
67+
public equals(undoable: unknown): boolean {
6868
return this === undoable;
6969
}
7070

0 commit comments

Comments
 (0)