diff --git a/app/assets/javascripts/Device/DesktopDeviceInterface.ts b/app/assets/javascripts/Device/DesktopDeviceInterface.ts index be4e54c5a..b8ec4a3db 100644 --- a/app/assets/javascripts/Device/DesktopDeviceInterface.ts +++ b/app/assets/javascripts/Device/DesktopDeviceInterface.ts @@ -1,11 +1,13 @@ import { DeviceInterface, Environment } from '@standardnotes/snjs' -import { WebOrDesktopDevice } from '@/Device/WebOrDesktopDevice' import { WebCommunicationReceiver } from './DesktopWebCommunication' +import { WebOrDesktopDeviceInterface } from './WebOrDesktopDeviceInterface' export function isDesktopDevice(x: DeviceInterface): x is DesktopDeviceInterface { return x.environment === Environment.Desktop } -export interface DesktopDeviceInterface extends WebOrDesktopDevice, WebCommunicationReceiver { +export interface DesktopDeviceInterface + extends WebOrDesktopDeviceInterface, + WebCommunicationReceiver { environment: Environment.Desktop }