Error ---------------------------------------------------------------------------------------------------- test.js:10:26 Sketchy null check on number [1] which is potentially 0. Perhaps you meant to check for null or undefined [2]? [sketchy-null-number] test.js:10:26 10| assertSecondBare(null, x); // error: sketchy null check on number ^ References: test.js:9:41 9| function directSecondArgIsACondition(x: number | void) { ^^^^^^ [1] test.js:9:50 9| function directSecondArgIsACondition(x: number | void) { ^^^^ [2] Error ---------------------------------------------------------------------------------------------------- test.js:18:38 Sketchy null check on number [1] which is potentially 0. Perhaps you meant to check for null or undefined [2]? [sketchy-null-number] test.js:18:38 18| assertSecondGeneric(null, x); // error: sketchy null check on number ^ References: test.js:17:50 17| function directSecondArgWithTargsIsACondition(x: number | void) { ^^^^^^ [1] test.js:17:59 17| function directSecondArgWithTargsIsACondition(x: number | void) { ^^^^ [2] Found 2 errors