Define global Tauri interface types in TypeScript

This commit is contained in:
cyrus
2026-02-23 18:40:49 +05:30
parent 8616ff0c31
commit 4edf2f5b8c
+11
View File
@@ -0,0 +1,11 @@
// Global type declarations for the application
declare global {
interface Window {
__TAURI__?: {
[key: string]: unknown;
};
}
}
export {};