From 41b9228a284f577c81db6acee71ca0cacba7446d Mon Sep 17 00:00:00 2001 From: morizon Date: Mon, 20 Jan 2025 12:38:59 +0800 Subject: [PATCH] fix: lint --- @types/globals.d.ts | 1 + .../ServiceScanQRCode/utils/parseQRCode/handlers/index.ts | 1 - packages/shared/src/utils/openUrlUtils.ts | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/@types/globals.d.ts b/@types/globals.d.ts index 66bfdc8b6d6..33f4d761bb7 100644 --- a/@types/globals.d.ts +++ b/@types/globals.d.ts @@ -5,6 +5,7 @@ import type { ETranslationsMock, } from '@onekeyhq/shared/src/locale'; import type { IWebEmbedOnekeyAppSettings } from '@onekeyhq/web-embed/utils/webEmbedAppSettings'; + import type { ProviderPrivate } from '@onekeyfe/onekey-private-provider'; type IWindowOneKeyHub = { diff --git a/packages/kit-bg/src/services/ServiceScanQRCode/utils/parseQRCode/handlers/index.ts b/packages/kit-bg/src/services/ServiceScanQRCode/utils/parseQRCode/handlers/index.ts index 29161e30cd3..67145acfbe0 100644 --- a/packages/kit-bg/src/services/ServiceScanQRCode/utils/parseQRCode/handlers/index.ts +++ b/packages/kit-bg/src/services/ServiceScanQRCode/utils/parseQRCode/handlers/index.ts @@ -21,4 +21,3 @@ export const PARSE_HANDLERS = { [EQRCodeHandlerNames.marketDetail]: marketDetail, [EQRCodeHandlerNames.sendProtection]: sendProtection, }; - diff --git a/packages/shared/src/utils/openUrlUtils.ts b/packages/shared/src/utils/openUrlUtils.ts index e9bdef7a22c..4dea24de592 100644 --- a/packages/shared/src/utils/openUrlUtils.ts +++ b/packages/shared/src/utils/openUrlUtils.ts @@ -14,7 +14,7 @@ import { import appGlobals from '../appGlobals'; import type { IPrefType } from '../../types/desktop'; -import { EWebEmbedRoutePath } from '../consts/webEmbedConsts'; +import type { EWebEmbedRoutePath } from '../consts/webEmbedConsts'; const openUrlByWebview = (url: string, title?: string) => { appGlobals.$navigationRef.current?.navigate(ERootRoutes.Modal, {