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> { async track(eventName: string, properties?: IDataObject): Promise<void> {
return new Promise<void>((resolve) => { return new Promise<void>((resolve) => {
if (this.client) { if (this.client) {
// @ts-ignore
this.client.track( this.client.track(
{ {
userId: this.instanceId, userId: this.instanceId,
event: eventName, event: eventName,
// @ts-ignore
properties, properties,
}, },
resolve, resolve,

View file

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