chore: fix typescript error
This commit is contained in:
1 parent
9694d40a4a
commit
eb5a3b04fa
7 files changed
+13
-11
No files matched your search
@@ -6,7 +6,7 @@ import {
|
||||
} from 'electron'
|
||||
import Constants, { TrayOptions } from './utils/Constants'
|
||||
import IPCs from './IPCs'
|
||||
import { createTray, hideWindow, showWindow } from './tray.ts'
|
||||
import { createTray, hideWindow, showWindow } from './tray'
|
||||
|
||||
const options = {
|
||||
width: Constants.IS_DEV_ENV ? 1500 : 1200,
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
import { app, screen, Menu, Tray, BrowserWindow } from 'electron'
|
||||
import Constants from './utils/Constants.ts'
|
||||
import { debounce } from './utils/Util.ts'
|
||||
import Constants from './utils/Constants'
|
||||
import { debounce } from './utils/Util'
|
||||
let tray
|
||||
let trayOptions
|
||||
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
<script type="module" src="./main.ts"></script>
|
||||
<script type="module" src="./main"></script>
|
||||
</html>
|
||||
Reference in new issue
Block a user