mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
⚡ Fix build issues
This commit is contained in:
parent
f811992527
commit
5fa004dbc6
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue