Skip to content

Commit 6b5eb31

Browse files
committed
chore: rely on argument types
1 parent b7ff67f commit 6b5eb31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/merge-tasks.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function mergeTasks(...parts: DeepPartial<Task>[]): Task {
3333
dependsOn: new Set(),
3434
};
3535

36-
return parts.reduce<Task>((task, part) => mergeWith(task, part, CUSTOMIZER), initialTask);
36+
return parts.reduce((task: Task, part: DeepPartial<Task>) => mergeWith(task, part, CUSTOMIZER), initialTask);
3737
}
3838

3939
const CUSTOMIZER: MergeWithCustomizer = (oldValue, newValue, key) => {

0 commit comments

Comments
 (0)