Skip to content

Commit

Permalink
Cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
lieser committed Nov 16, 2023
1 parent 5385b74 commit 1743235
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions experiments/mozilla.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ declare module ExtensionParentM {
////////////////////////////////////////////////////////////////////////////

declare module apiManager {
// Internals that should be avoided.
declare module global {
const tabTracker: TabTrackerBase;

Expand Down
3 changes: 1 addition & 2 deletions modules/dkim/verifier.mjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -1036,8 +1036,7 @@ class DkimSignature {
let headerCanonAlgo;
switch (this._header.c_header) {
case "simple":
// @ts-expect-error
headerCanonAlgo = function (headerField) { return headerField; };
headerCanonAlgo = function (/** @type {string} */ headerField) { return headerField; };
break;
case "relaxed":
headerCanonAlgo = DkimSignature.#canonicalizationHeaderFieldRelaxed;
Expand Down

0 comments on commit 1743235

Please sign in to comment.