diff --git a/scripts/submit-metrics.ts b/scripts/submit-metrics.ts index 56089b834..9ac215e3c 100644 --- a/scripts/submit-metrics.ts +++ b/scripts/submit-metrics.ts @@ -38,8 +38,8 @@ try { 'x-metrics-commit-hash': commit, }, }) - .then((res) => res.text()) // expecting a json response - .then((json) => { + .then((res: any) => res.text()) // expecting a json response + .then((json: any) => { debug('response %o', json); }); } catch (error) {