Fix TS 3.5 compile errors

Fixing errors related to https://github.com/microsoft/TypeScript/issues/31380
This commit is contained in:
Matt Bierner
2019-05-13 18:00:06 -07:00
parent d5fce51880
commit fd1ac7561b
20 changed files with 40 additions and 41 deletions

View File

@@ -103,7 +103,7 @@ class Survey {
}
private get triggerCount(): number {
const count = this.memento.get(this.triggerCountMementoKey);
const count = this.memento.get<number>(this.triggerCountMementoKey);
return !count || isNaN(+count) ? 0 : +count;
}