refactor: mollify TypeScript

This commit is contained in:
Oliver Eyton-Williams
2021-11-24 15:09:45 +01:00
committed by Mrugesh Mohapatra
parent 7d0760c98f
commit 01b354f0d1
9 changed files with 46 additions and 32 deletions

View File

@ -59,7 +59,7 @@ if (FREECODECAMP_NODE_ENV !== 'development') {
searchKeys,
donationKeys
);
const receivedvariables = Object.keys(env);
const receivedvariables = Object.keys(env as Record<string, unknown>);
expectedVariables.sort();
receivedvariables.sort();
if (expectedVariables.length !== receivedvariables.length) {