Add declaration

This commit is contained in:
toasted-nutbread 2020-02-01 10:34:13 -05:00
parent 6b9116ee49
commit daf0385448

View File

@ -164,7 +164,7 @@ function dictTermsMergeBySequence(definitions, mainDictionary) {
for (const definition of definitions) { for (const definition of definitions) {
const sequence = definition.sequence; const sequence = definition.sequence;
if (mainDictionary === definition.dictionary && sequence >= 0) { if (mainDictionary === definition.dictionary && sequence >= 0) {
sequencedDefinition = sequencedDefinitions.get(sequence); let sequencedDefinition = sequencedDefinitions.get(sequence);
if (typeof sequencedDefinition === 'undefined') { if (typeof sequencedDefinition === 'undefined') {
sequencedDefinition = { sequencedDefinition = {
reasons: definition.reasons, reasons: definition.reasons,