chore: stop linter from whining about no return (#6679)

No functional change, just jumping through hoops due to tooling.

"JSDoc @returns declaration present but return expression not available in function"
This commit is contained in:
Neil Fraser
2022-12-02 17:17:38 +01:00
committed by GitHub
parent fc2c10d0d0
commit 1c768e8121

View File

@@ -222,7 +222,7 @@ export function generateUniqueNameFromOptions(
}
}
if (!inUse) {
return potName;
break;
}
letterIndex++;
@@ -233,6 +233,7 @@ export function generateUniqueNameFromOptions(
}
potName = letters.charAt(letterIndex) + suffix;
}
return potName;
}
/**