Fix: stepType was being set to an object

This commit is contained in:
Jose Olarte III
2025-07-07 16:20:11 +08:00
parent ba15b500c4
commit 41dab36eb6
3 changed files with 33 additions and 14 deletions

12
src/types/global.d.ts vendored
View File

@@ -66,4 +66,16 @@ declare global {
interface Window {
electronAPI: ElectronAPI;
}
}
/**
* Vue instance interface extension for global properties.
*
* This makes global properties available on Vue instances
* in TypeScript without type errors.
*/
declare module 'vue' {
interface ComponentCustomProperties {
$notify: (notification: any, timeout?: number) => void;
}
}