Skip to content

Commit 102452a

Browse files
committed
fix: update action type handling in HandleProfileInputChangeType
1 parent 621df8b commit 102452a

File tree

1 file changed

+7
-4
lines changed
  • src/Pages/GlobalConfigurations/BuildInfra

1 file changed

+7
-4
lines changed

src/Pages/GlobalConfigurations/BuildInfra/types.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -451,14 +451,17 @@ export type HandleProfileInputChangeType =
451451
}
452452
}
453453
| {
454-
action:
455-
| Exclude<BuildInfraInheritActions, BuildInfraInheritActionsOnSubValues>
456-
| BuildInfraProfileInputActionType.ADD_TARGET_PLATFORM
457-
| BuildInfraProfileInputActionType.REMOVE_TARGET_PLATFORM
454+
action: BuildInfraProfileInputActionType.ADD_TARGET_PLATFORM
458455
data: ProfileInputDispatchDataType & {
459456
handleCaptureSnapshot: (data: BuildInfraProfileData) => void
460457
}
461458
}
459+
| {
460+
action:
461+
| Exclude<BuildInfraInheritActions, BuildInfraInheritActionsOnSubValues>
462+
| BuildInfraProfileInputActionType.REMOVE_TARGET_PLATFORM
463+
data: ProfileInputDispatchDataType
464+
}
462465
| {
463466
action: BuildInfraInheritActionsOnSubValues
464467
data: ProfileInputDispatchDataType & {

0 commit comments

Comments
 (0)