From 3aebb8db83019d09a3a1fbbc1b6dab97aa67597f Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Mon, 10 Jan 2022 22:04:28 +0100 Subject: [PATCH] correct typings for a test --- tests/undo-redo.tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/undo-redo.tests.js b/tests/undo-redo.tests.js index 991225ca..b99df6c3 100644 --- a/tests/undo-redo.tests.js +++ b/tests/undo-redo.tests.js @@ -273,7 +273,7 @@ export const testUndoInEmbed = tc => { */ export const testUndoDeleteFilter = tc => { /** - * @type {Array>} + * @type {Y.Array} */ const array0 = /** @type {any} */ (init(tc, { users: 3 }).array0) const undoManager = new Y.UndoManager(array0, { deleteFilter: item => !(item instanceof Y.Item) || (item.content instanceof Y.ContentType && item.content.type._map.size === 0) })