ghost-portal/packages/apps-electron/src/main/ipc-main-handler.ts
Ivan Rukhavets 90200ed2f1
Tests for electron app storage (#3118)
* Add unit tests for electron account management

* Use tmp package in file store tests.

* Enable @typescript-eslint/no-useless-constructor extension eslint rule.

* Explicitly assign private field in constructor.

Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
2020-07-07 14:00:02 +02:00

8 lines
285 B
TypeScript

// Copyright 2017-2020 @polkadot/apps authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
export type IpcMainHandler = {
[channel: string]: (...args: any[]) => Promise<void> | any
}