diff options
author | Vendicated <vendicated@riseup.net> | 2022-10-22 18:18:41 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-10-22 18:18:41 +0200 |
commit | 61fd38d6d9170a9583c62366a2d4afa40507ce01 (patch) | |
tree | 50132ae08fb39b453bca0dbeeae311e12b2528ed /src/VencordNative.ts | |
parent | a7dbd73547104540218d4699fcf643fca727d2fc (diff) | |
download | Vencord-61fd38d6d9170a9583c62366a2d4afa40507ce01.tar.gz Vencord-61fd38d6d9170a9583c62366a2d4afa40507ce01.tar.bz2 Vencord-61fd38d6d9170a9583c62366a2d4afa40507ce01.zip |
style: Sort imports
Diffstat (limited to 'src/VencordNative.ts')
-rw-r--r-- | src/VencordNative.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/VencordNative.ts b/src/VencordNative.ts index a3ad095..c984870 100644 --- a/src/VencordNative.ts +++ b/src/VencordNative.ts @@ -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.`); } |