Duplicate remover: managing possible questions

This commit is contained in:
mrfry 2021-03-29 18:19:02 +02:00
parent 934319f984
commit 43b8d939c1
3 changed files with 174 additions and 35 deletions

View file

@ -302,7 +302,7 @@ function compareQuestionObj(
q2: Question,
q2subjName: string,
data: QuestionData
) {
): any {
assert(data !== undefined || data !== null)
assert(q1)
assert(typeof q1 === 'object')
@ -678,6 +678,7 @@ if (!isMainThread) {
// ------------------------------------------------------------------------
export {
compareQuestionObj,
minMatchAmmount,
getSubjNameWithoutYear,
createQuestion,