fix: resolve boundaries/element-types lint error in window.ts
Inline WINDOW_IS_FULLSCREEN constant instead of importing from @preload to avoid cross-boundary import violation.
This commit is contained in:
parent
dc4fc99407
commit
cd68023819
1 changed files with 2 additions and 1 deletions
|
|
@ -4,8 +4,9 @@
|
|||
* can provide conventional min / maximize / close buttons.
|
||||
*/
|
||||
|
||||
import { WINDOW_IS_FULLSCREEN } from '@preload/constants/ipcChannels';
|
||||
import { createLogger } from '@shared/utils/logger';
|
||||
|
||||
const WINDOW_IS_FULLSCREEN = 'window:isFullScreen';
|
||||
import { BrowserWindow, type IpcMain } from 'electron';
|
||||
|
||||
const logger = createLogger('IPC:window');
|
||||
|
|
|
|||
Loading…
Reference in a new issue