upgrade js api (#5152)

* upgrade to latest js api

* add missing types

* remove useless function

* fix types

* enable strict mode

* Revert "enable strict mode"

This reverts commit 8e3f9c4563.
This commit is contained in:
Denys Vuika
2019-10-14 18:28:01 +01:00
committed by Eugenio Romano
parent 47ec01555a
commit b3ca2166f0
9 changed files with 88 additions and 82 deletions

View File

@@ -54,8 +54,8 @@ export class AnalyticsComponent implements OnChanges {
this.analyticsGenerator.reset();
}
public showReport($event) {
this.analyticsGenerator.generateReport(this.reportId, $event);
public showReport($event: any) {
this.analyticsGenerator.generateReport(`${this.reportId}`, $event);
}
public reset() {