Skip to content

Commit

Permalink
Require sense for convertSenseToMergeTreeSense
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgrady committed Oct 23, 2023
1 parent f353bb5 commit 6c11517
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/goals/MergeDuplicates/MergeDupsTreeTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ export function newMergeTreeWord(
}

export function convertSenseToMergeTreeSense(
sense?: Sense,
sense: Sense,
srcWordId = "",
order = 0
): MergeTreeSense {
return {
...(sense ?? newSense()),
...sense,
srcWordId,
order,
protected: sense?.accessibility === Status.Protected,
Expand Down

0 comments on commit 6c11517

Please sign in to comment.