aboutsummaryrefslogtreecommitdiff
path: root/src/VencordNative.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-08-29 18:45:58 +0200
committerVendicated <vendicated@riseup.net>2022-08-29 18:45:58 +0200
commit1709ab61ef2138d350b3d45a3eba0d94d5adf0a1 (patch)
tree92cfba166ee58f268ac617197d462f4b4dab1af5 /src/VencordNative.ts
parent876e622f4f61a4aa229ad69782d374335c3d8d6b (diff)
downloadVencord-1709ab61ef2138d350b3d45a3eba0d94d5adf0a1.tar.gz
Vencord-1709ab61ef2138d350b3d45a3eba0d94d5adf0a1.tar.bz2
Vencord-1709ab61ef2138d350b3d45a3eba0d94d5adf0a1.zip
Fix NPE when opening DevTools
Diffstat (limited to 'src/VencordNative.ts')
-rw-r--r--src/VencordNative.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VencordNative.ts b/src/VencordNative.ts
index 1798cbf..0fc5d16 100644
--- a/src/VencordNative.ts
+++ b/src/VencordNative.ts
@@ -7,5 +7,5 @@ export default {
cb(css);
});
},
- getQuickCss: () => ipcRenderer.invoke(IPC_GET_QUICK_CSS)
+ getQuickCss: () => ipcRenderer.invoke(IPC_GET_QUICK_CSS) as Promise<string>
}; \ No newline at end of file