mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-22 11:19:32 +00:00
Fix TS 3.5 compile errors
Fixing errors related to https://github.com/microsoft/TypeScript/issues/31380
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user