RenaiApp/src/renderer/services/api.ts

10 lines
201 B
TypeScript
Raw Normal View History

import { ipcRenderer } from 'electron';
2019-06-30 01:18:21 +02:00
function sendCredentials(credentials: ICredentials): void {
2019-06-19 00:15:16 +02:00
ipcRenderer.send(IpcChannels.Credentials, credentials);
}
export default {
sendCredentials,
};