mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-12 00:20:15 +00:00
refactor: convert app.ts imports to import type where possible
Amp-Thread-ID: https://ampcode.com/threads/T-019bfe1a-8ac4-753e-a612-040f36dc66b9 Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
@@ -8,7 +8,8 @@ import type {
|
||||
import { LiteGraph } from '@/lib/litegraph/src/litegraph'
|
||||
import { useToastStore } from '@/platform/updates/common/toastStore'
|
||||
|
||||
import { type ComfyApp, app } from '../../scripts/app'
|
||||
import type { ComfyApp } from '../../scripts/app'
|
||||
import { app } from '../../scripts/app'
|
||||
import { $el } from '../../scripts/ui'
|
||||
import { ComfyDialog } from '../../scripts/ui/dialog'
|
||||
import { DraggableList } from '../../scripts/ui/draggableList'
|
||||
|
||||
@@ -9,7 +9,8 @@ import { useCommandStore } from '@/stores/commandStore'
|
||||
import { useWorkspaceStore } from '@/stores/workspaceStore'
|
||||
|
||||
import { api } from './api'
|
||||
import { ComfyApp, app } from './app'
|
||||
import type { ComfyApp } from './app'
|
||||
import { app } from './app'
|
||||
import { ComfyDialog as _ComfyDialog } from './ui/dialog'
|
||||
import { ComfySettingsDialog } from './ui/settings'
|
||||
import { toggleSwitch } from './ui/toggleSwitch'
|
||||
|
||||
Reference in New Issue
Block a user