[fix] TypeScript errors in manager/compatibility branch (#4625)

This commit is contained in:
Jin Yi
2025-07-31 15:34:03 +09:00
parent e085bb4c0f
commit 104bd43dc1
6 changed files with 16 additions and 16 deletions

View File

@@ -28,6 +28,7 @@ import {
type ShowDialogOptions,
useDialogStore
} from '@/stores/dialogStore'
import type { ConflictDetectionResult } from '@/types/conflictDetectionTypes'
export type ConfirmationDialogType =
| 'default'
@@ -434,6 +435,7 @@ export const useDialogService = () => {
function showNodeConflictDialog(
options: {
showAfterWhatsNew?: boolean
conflictedPackages?: ConflictDetectionResult[]
dialogComponentProps?: DialogComponentProps
buttonText?: string
onButtonClick?: () => void
@@ -443,7 +445,8 @@ export const useDialogService = () => {
dialogComponentProps,
buttonText,
onButtonClick,
showAfterWhatsNew
showAfterWhatsNew,
conflictedPackages
} = options
return dialogStore.showDialog({
@@ -467,7 +470,8 @@ export const useDialogService = () => {
...dialogComponentProps
},
props: {
showAfterWhatsNew
showAfterWhatsNew,
conflictedPackages
},
footerProps: {
buttonText,