Chore: Adds typings to lodash (#16590)

This commit is contained in:
Hugo Häggmark
2019-04-15 12:11:52 +02:00
committed by GitHub
parent b267e96087
commit 7eabc282e9
88 changed files with 149 additions and 145 deletions

View File

@@ -141,8 +141,8 @@ export class ChangeTracker {
const current = this.cleanDashboardFromIgnoredChanges(this.current.getSaveModelClone());
const original = this.cleanDashboardFromIgnoredChanges(this.original);
const currentTimepicker = _.find(current.nav, { type: 'timepicker' });
const originalTimepicker = _.find(original.nav, { type: 'timepicker' });
const currentTimepicker: any = _.find(current.nav, { type: 'timepicker' });
const originalTimepicker: any = _.find(original.nav, { type: 'timepicker' });
if (currentTimepicker && originalTimepicker) {
currentTimepicker.now = originalTimepicker.now;