From ac26e6c3cb14267fd4d7c8cdaee7e93a345d942c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemek=20Wi=C4=99ch?= Date: Fri, 8 May 2026 18:42:25 +0200 Subject: [PATCH] Fix types --- tests/global.d.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/global.d.ts b/tests/global.d.ts index c6eef78..4c10c61 100644 --- a/tests/global.d.ts +++ b/tests/global.d.ts @@ -1,3 +1,11 @@ -interface Window { - __registeredTools?: any[]; +import {ModelContext} from '../src/webmcp_types'; + +declare global { + interface Window { + __registeredTools?: any[]; + } + + interface Navigator { + modelContext?: ModelContext; + } }