fix lint warnings

This commit is contained in:
Bruno Windels 2022-04-08 15:01:27 +02:00
parent cda96a35ee
commit 57f50cc416

View file

@ -311,7 +311,7 @@ export function tests() {
} }
const entries = new ObservableArray([{n: 5}, {n: 10}]); const entries = new ObservableArray([{n: 5}, {n: 10}]);
const tileOptions = { const tileOptions = {
tileClassForEntry: entry => UpdateOnSiblingTile, tileClassForEntry: () => UpdateOnSiblingTile,
}; };
const tiles = new TilesCollection(entries, tileOptions); const tiles = new TilesCollection(entries, tileOptions);
let receivedAdd = false; let receivedAdd = false;
@ -337,7 +337,7 @@ export function tests() {
} }
const entries = new ObservableArray([{n: 5}, {n: 10}, {n: 15}]); const entries = new ObservableArray([{n: 5}, {n: 10}, {n: 15}]);
const tileOptions = { const tileOptions = {
tileClassForEntry: entry => UpdateOnSiblingTile, tileClassForEntry: () => UpdateOnSiblingTile,
}; };
const tiles = new TilesCollection(entries, tileOptions); const tiles = new TilesCollection(entries, tileOptions);
const events = []; const events = [];