Mobile-BillTracker/src/vite-env.d.ts

13 lines
376 B
TypeScript
Raw Normal View History

/// <reference types="vite/client" />
// Injected by the nodejs-mobile-cordova plugin once `cordova.js` has loaded.
interface Window {
nodejs?: {
start: (filename: string, callback?: (err: unknown) => void) => void;
channel: {
on: (event: string, callback: (msg: unknown) => void) => void;
post: (event: string, message: unknown) => void;
};
};
}