Skip to content

Commit

Permalink
chore: typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Clemog committed May 15, 2024
1 parent e4c882c commit 6365081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function handleSituationKeysMigration({
situation,
foldedSteps,
migrationInstructions,
}: Props) {
}: Props): { situationMigrated: Situation; foldedStepsMigrated: DottedName[] } {
const situationMigrated = { ...situation }
const foldedStepsMigrated = [...foldedSteps]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function handleSituationValuesMigration({
situation,
foldedSteps,
migrationInstructions,
}: Props) {
}: Props): { situationMigrated: Situation; foldedStepsMigrated: DottedName[] } {
if (!migrationInstructions.valuesToMigrate[ruleName]) {
return
}
Expand Down

0 comments on commit 6365081

Please sign in to comment.