We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
addDiscoveredWord()
1 parent 0a6db53 commit c735918Copy full SHA for c735918
vanilla/guess-the-word/src/services/saved-words/add.js
@@ -4,8 +4,7 @@ import { DIFFICULTIES_ALL } from "@/consts/difficulty";
4
import { DISCOVERED_WORDS } from "@/consts/discovered-words";
5
6
/** @param {string} word
7
- * @param {{ difficulty: import("@/consts/difficulty").Difficulty }} config
8
- * @returns {{ completed: boolean }} */
+ * @param {{ difficulty: import("@/consts/difficulty").Difficulty }} config */
9
export const addDiscoveredWord = (word, { difficulty }) => {
10
const availableDifficulties = getDifficultiesOfWord(word);
11
0 commit comments