Update TypeScript

This commit is contained in:
Zaid Abdulla committed 2019-06-05 00:17:36 -07:00
1 parent 1748b49a3b
commit f5ccc2f707
8 files changed
+576 -8

No files matched your search

+2 -2
View File
@@ -184,7 +184,7 @@ function renderTable(
}
const component: ClosureComponent = (): Component => {
let selected = new Set();
let selected = new Set<string>();
return {
view: vnode => {
@@ -199,7 +199,7 @@ const component: ClosureComponent = (): Component => {
const actionsCallback = vnode.attrs["actionsCallback"];
const recordActionsCallback = vnode.attrs["recordActionsCallback"];
const _selected = new Set();
const _selected = new Set<string>();
for (const record of data) {
const id = record["_id"] || record["DeviceID.ID"].value[0];
if (selected.has(id)) _selected.add(id);