fix typescript types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
7113fe7e31
commit
b3780445d3
2 changed files with 6 additions and 3 deletions
|
@ -36,7 +36,7 @@ import { initRageshake } from "./rageshakesetup";
|
|||
export const rageshakePromise = initRageshake();
|
||||
|
||||
export function preparePlatform() {
|
||||
if ((<any>window).ipcRenderer) {
|
||||
if (window.ipcRenderer) {
|
||||
console.log("Using Electron platform");
|
||||
const plaf = new ElectronPlatform();
|
||||
PlatformPeg.set(plaf);
|
Loading…
Add table
Add a link
Reference in a new issue