diff --git a/js/src/export.ts b/js/src/export.ts index 2e39333011..91c72770ce 100644 --- a/js/src/export.ts +++ b/js/src/export.ts @@ -139,6 +139,11 @@ function loadTemplate (id) { var $form = $('form[name="dump"]'); var options = JSON.parse(response.data); $.each(options, function (key, value) { + if (typeof key === 'symbol') { + // Continue to next iteration. + return true; + } + var localValue = value; var $element = $form.find('[name="' + key + '"]'); if ($element.length) { diff --git a/webpack.config.cjs b/webpack.config.cjs index fdabf6a0b6..8741b025d6 100644 --- a/webpack.config.cjs +++ b/webpack.config.cjs @@ -17,7 +17,6 @@ const typeScriptErrorsToIgnore = [ 2365, // TS2365: Operator '%s' cannot be applied to types '%s' and '%s'. 2367, // TS2367: This comparison appears to be unintentional because the types '%s' and '%s' have no overlap. 2405, // TS2405: The left-hand side of a 'for...in' statement must be of type 'string' or 'any'. - 2469, // TS2469: The '+' operator cannot be applied to type 'symbol'. 2538, // TS2538: Type '%s' cannot be used as an index type. 2769, // TS2769: No overload matches this call. 5096, // TS5096: Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set.