Added def for undefined and null on SudokuState

This commit is contained in:
Benjamin Claassen 2025-01-17 00:59:02 +01:00
parent 46f0434852
commit 17bd0429f1
No known key found for this signature in database
GPG Key ID: C5F495EAE56673BF

View File

@ -22,6 +22,7 @@ function randInt(min, max) {
class SudokuPuzzle extends EventTarget { class SudokuPuzzle extends EventTarget {
/** /**
* undefined is an empty cell, null is a cell that was cleared
* @typedef {(number|null|undefined)[]} SudokuState * @typedef {(number|null|undefined)[]} SudokuState
*/ */