From f891e95d3e46da412bc86291513291fd7815bd78 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Sat, 4 Oct 2025 19:23:45 +0900 Subject: [PATCH] fix lint --- packages/frontend/src/utility/get-user-environment.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/utility/get-user-environment.ts b/packages/frontend/src/utility/get-user-environment.ts index a8d9084f5c..a1f63defb1 100644 --- a/packages/frontend/src/utility/get-user-environment.ts +++ b/packages/frontend/src/utility/get-user-environment.ts @@ -2,11 +2,13 @@ * SPDX-FileCopyrightText: syuilo and misskey-project * SPDX-License-Identifier: AGPL-3.0-only */ -import type * as Bowser_TR from 'bowser'; -type Bowser_TypeReferenceOnly = typeof Bowser_TR; +// Type Reference Only import (実物はlazy-loadされる) +import type * as BowserTypeReferenceOnly from 'bowser'; -let Bowser: Bowser_TypeReferenceOnly | null = null; +type BowserTypeTypeReferenceOnly = typeof BowserTypeReferenceOnly; + +let Bowser: BowserTypeTypeReferenceOnly | null = null; export type UserEnvironment = { os: string;