refactor: remove explicit type

This commit is contained in:
tglide committed 2022-11-23 16:27:10 +00:00
1 parent b5870f1642
commit a5b3f10d6c
1 file changed
+1 -1
@@ -31,7 +31,7 @@
value: attribute.key,
label: attribute.key
}));
let attributeList = [{ value: '', order: '' }] as Array<{ value: string; order: string }>;
let attributeList = [{ value: '', order: '' }];
$: addAttributeDisabled = !attributeList.at(-1)?.value || !attributeList.at(-1)?.order;