Fix build issues

This commit is contained in:
Jan Oberhauser 2021-12-04 10:36:21 +01:00
parent f811992527
commit 5fa004dbc6
2 changed files with 3 additions and 0 deletions

View file

@ -135,10 +135,12 @@ export class Telemetry {
async track(eventName: string, properties?: IDataObject): Promise<void> {
return new Promise<void>((resolve) => {
if (this.client) {
// @ts-ignore
this.client.track(
{
userId: this.instanceId,
event: eventName,
// @ts-ignore
properties,
},
resolve,

View file

@ -11,6 +11,7 @@
"module": "commonjs",
"noImplicitAny": true,
"removeComments": true,
"skipLibCheck": true,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,