function isProvidedParameterSupported(configParams, templateParams) {
  const wrongParams = Object.keys(templateParams || {}).filter(key => !configParams?.[key]);

  if (!wrongParams.length) return;
  if (!configParams) throw new Error('This template doesn\'t have any params.');

  let suggestionsString = '';

  wrongParams.forEach(wp => {
    suggestionsString += `\nDid you mean "${getParamSuggestion(wp,configParams)}" instead of "${wp}"?`;
  });

  throw new Error(`This template doesn't have the following params: ${wrongParams}.${suggestionsString}`);
}
Checks if parameters provided to generator is supported by the template
@private
@param {Object} configParams Parameters specified in template configuration
@param {Object} templateParams All parameters provided to generator