From 4edf2f5b8c50951db7088fd7dbb28d531c04035b Mon Sep 17 00:00:00 2001 From: cyrus Date: Mon, 23 Feb 2026 18:40:49 +0530 Subject: [PATCH] Define global Tauri interface types in TypeScript --- src/types/global.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/types/global.d.ts diff --git a/src/types/global.d.ts b/src/types/global.d.ts new file mode 100644 index 000000000..0708f5e30 --- /dev/null +++ b/src/types/global.d.ts @@ -0,0 +1,11 @@ +// Global type declarations for the application + +declare global { + interface Window { + __TAURI__?: { + [key: string]: unknown; + }; + } +} + +export {}; \ No newline at end of file