From a2250d3b5502727eb9fa14cb2d7ce10880183510 Mon Sep 17 00:00:00 2001 From: ngxson Date: Tue, 7 May 2024 15:19:40 +0200 Subject: [PATCH] fix CI (2) --- packages/gguf/src/types.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gguf/src/types.spec.ts b/packages/gguf/src/types.spec.ts index 547886d31..9d20bfa8c 100644 --- a/packages/gguf/src/types.spec.ts +++ b/packages/gguf/src/types.spec.ts @@ -5,7 +5,7 @@ import type { GGUFMetadata, GGUFParseOutput } from "./types"; describe("gguf-types", () => { it("gguf() type can be casted between STRICT and NON_STRICT (at compile time)", async () => { // eslint-disable-next-line @typescript-eslint/no-explicit-any - const result: Awaited> = {} as any; + const result: Awaited> = { metadata: {} } as any; const strictType = result as GGUFParseOutput<{ strict: true }>; // @ts-expect-error because the key "abc" does not exist strictType.metadata.abc = 123;