From a1c8b3799284d36f5b2cf7730f9db84b6dcd5fbc Mon Sep 17 00:00:00 2001 From: Maarten Staa Date: Thu, 20 Sep 2018 16:00:57 +0200 Subject: [PATCH] Sortablejs: Missed not null assertion here. --- types/sortablejs/sortablejs-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/sortablejs/sortablejs-tests.ts b/types/sortablejs/sortablejs-tests.ts index 826fbd9b52..88a2c4283d 100644 --- a/types/sortablejs/sortablejs-tests.ts +++ b/types/sortablejs/sortablejs-tests.ts @@ -28,7 +28,7 @@ Sortable.create(list, { control = event.target; if (Sortable.utils.is(control, ".js-remove")) { - item.parentNode.removeChild(item); + item.parentNode!.removeChild(item); } else if (Sortable.utils.is(control, ".js-edit")) { // ..