UNPKG

@kvaser/canking-api

Version:

CanKing API to communicate with the CanKing service using Node.js.

16 lines (15 loc) 549 B
import { ElectronAPI } from '@electron-toolkit/preload'; import { IUserSettings } from '.'; /** * Creates a new ElectronAPI fake object. * @param userSettings - Optional user settings to be used instead of the default. * @returns A new ElectronAPI object. * @internal */ export declare const createElectronApiFake: (userSettings?: IUserSettings) => ElectronAPI; /** * A fake implementation of the ElectronAPI interface, to be used during unit tests. * @internal */ declare const electronApiFake: ElectronAPI; export default electronApiFake;