mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 09:41:45 +00:00
Sortablejs: Missed not null assertion here.
This commit is contained in:
@@ -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")) {
|
||||
// ..
|
||||
|
||||
Reference in New Issue
Block a user