Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVukovic99 committed Oct 11, 2024
1 parent f074c76 commit b3a131d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 3-tidy-up.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ function handleLine(parsedLine) {
: []);

/** @type {TidySense[]} */
const sensesWithGlosses = senses
const sensesWithGlosses = /** @type {TidySense[]} */ (senses
.filter(sense => sense.glosses || sense.raw_glosses || sense.raw_gloss)
.map(sense => {
const glosses = sense.raw_glosses || sense.raw_gloss || sense.glosses;
Expand All @@ -207,7 +207,7 @@ function handleLine(parsedLine) {
}

return {...sense, glossesArray, tags};
});
}));

const sensesWithoutInflectionGlosses = sensesWithGlosses.filter(sense => {
const {glossesArray, form_of, glosses} = sense;
Expand Down

0 comments on commit b3a131d

Please sign in to comment.