diff --git a/src/config/schema.test.ts b/src/config/schema.test.ts index edd4b43e576..2c1780c5c6f 100644 --- a/src/config/schema.test.ts +++ b/src/config/schema.test.ts @@ -244,7 +244,7 @@ describe("config schema", () => { }); it("uses the indexed tuple item schema for positional array lookups", () => { - const tupleSchema: Parameters[0] = { + const tupleSchema = { schema: { type: "object", properties: { @@ -257,7 +257,7 @@ describe("config schema", () => { uiHints: {}, version: "test", generatedAt: "test", - }; + } as unknown as Parameters[0]; const lookup = lookupConfigSchema(tupleSchema, "pair.1"); expect(lookup?.path).toBe("pair.1");