diff --git a/apps/apollo-vertex/package.json b/apps/apollo-vertex/package.json index 52cc986f6..b5654236f 100644 --- a/apps/apollo-vertex/package.json +++ b/apps/apollo-vertex/package.json @@ -15,7 +15,8 @@ "format:check": "biome format", "lint": "oxlint", "lint:fix": "oxlint --fix", - "lint:deps": "depcruise registry --config .dependency-cruiser.js" + "lint:deps": "depcruise registry --config .dependency-cruiser.js", + "typecheck": "tsc --noEmit" }, "keywords": [], "author": "", diff --git a/apps/apollo-vertex/registry/ai-chat/examples/choices-tool.ts b/apps/apollo-vertex/registry/ai-chat/examples/choices-tool.ts index 78b750af6..a9d8ceb90 100644 --- a/apps/apollo-vertex/registry/ai-chat/examples/choices-tool.ts +++ b/apps/apollo-vertex/registry/ai-chat/examples/choices-tool.ts @@ -35,7 +35,7 @@ const presentChoicesDef = toolDefinition({ }); const presentChoices = presentChoicesDef.client((input) => - Object.assign({ type: "choices" }, input), + Object.assign({ type: "choices" as const }, input), ); export const choicesTools = clientTools(presentChoices);