diff --git a/src/client.ts b/src/client.ts index b1668372..e64d540a 100644 --- a/src/client.ts +++ b/src/client.ts @@ -366,7 +366,7 @@ export class Pushy { return result; } this.lastChecking = now; - const fetchBody = { + const fetchBody: Record = { packageVersion: this.options.overridePackageVersion || packageVersion, hash: currentVersion, buildTime, @@ -374,7 +374,6 @@ export class Pushy { ...extra, }; if (__DEV__) { - // @ts-ignore delete fetchBody.buildTime; } const stringifyBody = JSON.stringify(fetchBody);