From a5f92224b586289fc72f0abdb68b08eef9f017db Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Wed, 22 Mar 2023 15:01:01 -0700 Subject: Fix types (#2453) * WIP * WIP * WIP * WIP * Improve typechecking in type files * Fix typechecking * Update * Update submodule * CI for typechecking * Add ci * Update commands * Format after build * Dont use bunx * Rename job * Use nodemodules prettier * Update workflow * Use symlink * Debug * Debug * Clean up and rename jobs --- test/js/third_party/napi_create_external/napi-create-external.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/js/third_party/napi_create_external') diff --git a/test/js/third_party/napi_create_external/napi-create-external.test.ts b/test/js/third_party/napi_create_external/napi-create-external.test.ts index c3fe5ad65..47025e100 100644 --- a/test/js/third_party/napi_create_external/napi-create-external.test.ts +++ b/test/js/third_party/napi_create_external/napi-create-external.test.ts @@ -1,9 +1,10 @@ +// @ts-nocheck import { test, it, describe, expect } from "bun:test"; import { withoutAggressiveGC } from "harness"; import * as _ from "lodash"; function rebase(str, inBase, outBase) { - const mapBase = b => (b === 2 ? 32 : b === 16 ? 8 : null); + const mapBase = (b: number) => (b === 2 ? 32 : b === 16 ? 8 : null); const stride = mapBase(inBase); const pad = mapBase(outBase); if (!stride) throw new Error(`Bad inBase ${inBase}`); -- cgit v1.2.3