Files
bzzz/install/config-ui/node_modules/get-symbol-description/getInferredName.js
anthonyrawlins c177363a19 Save current BZZZ config-ui state before CHORUS branding update
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 00:19:00 +10:00

14 lines
474 B
JavaScript

'use strict';
/** @type {NonNullable<import('./getInferredName')> | undefined} */
var getInferredName;
try {
// eslint-disable-next-line no-new-func, no-extra-parens
getInferredName = /** @type {NonNullable<import('./getInferredName')>} */ (Function('s', 'return { [s]() {} }[s].name;'));
} catch (e) {}
var inferred = function () {};
/** @type {import('./getInferredName')} */
module.exports = getInferredName && inferred.name === 'inferred' ? getInferredName : null;