mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-14 00:53:04 -04:00
style: Sort imports
This commit is contained in:
parent
a7dbd73547
commit
61fd38d6d9
57 changed files with 133 additions and 114 deletions
|
@ -16,9 +16,10 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import IPC_EVENTS from "./utils/IpcEvents";
|
||||
import { IpcRenderer, ipcRenderer } from "electron";
|
||||
|
||||
import IPC_EVENTS from "./utils/IpcEvents";
|
||||
|
||||
function assertEventAllowed(event: string) {
|
||||
if (!(event in IPC_EVENTS)) throw new Error(`Event ${event} not allowed.`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue