@@ -76,7 +76,7 @@ exports.getAssertionNames = getAssertionNames;
7676
7777/**
7878 * @param {import('estree').Node } calleeNode
79- * @param {string } assertVar
79+ * @param {string | null } assertVar
8080 * @returns {{allowedArities: number[], compareActualFirst?: boolean} | null }
8181 */
8282function getAssertionMetadata ( calleeNode , assertVar ) {
@@ -345,7 +345,7 @@ exports.getAssertContextName = function (functionExpr) {
345345
346346/**
347347 * @param {import('estree').Node } calleeNode
348- * @param {string } assertVar
348+ * @param {string | null } assertVar
349349 * @returns {boolean }
350350 */
351351exports . isAssertion = function ( calleeNode , assertVar ) {
@@ -368,7 +368,7 @@ exports.getAllowedArities = function (calleeNode, assertVar) {
368368
369369/**
370370 * @param {import('estree').Node } calleeNode
371- * @param {string } assertVar
371+ * @param {string | null } assertVar
372372 * @returns {boolean }
373373 */
374374exports . isComparativeAssertion = function ( calleeNode , assertVar ) {
@@ -379,7 +379,7 @@ exports.isComparativeAssertion = function (calleeNode, assertVar) {
379379
380380/**
381381 * @param {import('estree').Node } calleeNode
382- * @param {string } assertVar
382+ * @param {string | null } assertVar
383383 * @returns {boolean }
384384 */
385385exports . shouldCompareActualFirst = function ( calleeNode , assertVar ) {
0 commit comments