aboutsummaryrefslogtreecommitdiff
path: root/src/tools/benchmark-builder/benchmark-builder.models.ts
diff options
context:
space:
mode:
authorGravatar renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 2023-08-21 19:57:59 +0000
committerGravatar GitHub <noreply@github.com> 2023-08-21 19:57:59 +0000
commit76b2761d62f459442989c6a55518408b68f0ad34 (patch)
tree66d299669495672ec9dcb97f21d4fdf23ceb5a8c /src/tools/benchmark-builder/benchmark-builder.models.ts
parent6ff9a01cc841b9d15c9ccaea4790746b9de2cb4b (diff)
downloadit-tools-76b2761d62f459442989c6a55518408b68f0ad34.tar.gz
it-tools-76b2761d62f459442989c6a55518408b68f0ad34.tar.zst
it-tools-76b2761d62f459442989c6a55518408b68f0ad34.zip
chore(deps): switched to fucking typescript v5 (#501)
* chore(deps): update dependency typescript to v5 * chore(deps): switched to fucking typescript v5 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Corentin Thomasset <corentin.thomasset74@gmail.com>
Diffstat (limited to 'src/tools/benchmark-builder/benchmark-builder.models.ts')
-rw-r--r--src/tools/benchmark-builder/benchmark-builder.models.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/benchmark-builder/benchmark-builder.models.ts b/src/tools/benchmark-builder/benchmark-builder.models.ts
index 10ae8a7..0bf3456 100644
--- a/src/tools/benchmark-builder/benchmark-builder.models.ts
+++ b/src/tools/benchmark-builder/benchmark-builder.models.ts
@@ -18,7 +18,7 @@ function computeVariance({ data }: { data: number[] }) {
return computeAverage({ data: squaredDiffs });
}
-function arrayToMarkdownTable({ data, headerMap = {} }: { data: unknown[]; headerMap?: Record<string, string> }) {
+function arrayToMarkdownTable({ data, headerMap = {} }: { data: Record<string, unknown>[]; headerMap?: Record<string, string> }) {
if (!Array.isArray(data) || data.length === 0) {
return '';
}