Skip to content

Commit

Permalink
added type check
Browse files Browse the repository at this point in the history
  • Loading branch information
dodmi authored and lieser committed Nov 23, 2023
1 parent e8cda1c commit f178f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dkimVerifier.jsm.js
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ var Verifier = (function() {
var headerCanonAlgo;
switch (DKIMSignature.c_header) {
case "simple":
headerCanonAlgo = function (headerField) {return headerField;};
headerCanonAlgo = function (/** @type {string} */ headerField) {return headerField;};
break;
case "relaxed":
headerCanonAlgo = canonicalizationHeaderFieldRelaxed;
Expand Down

0 comments on commit f178f86

Please sign in to comment.