|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
474 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 |
|
|---|
| 3 | /** @type {NonNullable<import('./getInferredName')> | undefined} */
|
|---|
| 4 | var getInferredName;
|
|---|
| 5 | try {
|
|---|
| 6 | // eslint-disable-next-line no-new-func, no-extra-parens
|
|---|
| 7 | getInferredName = /** @type {NonNullable<import('./getInferredName')>} */ (Function('s', 'return { [s]() {} }[s].name;'));
|
|---|
| 8 | } catch (e) {}
|
|---|
| 9 |
|
|---|
| 10 | var inferred = function () {};
|
|---|
| 11 |
|
|---|
| 12 | /** @type {import('./getInferredName')} */
|
|---|
| 13 | module.exports = getInferredName && inferred.name === 'inferred' ? getInferredName : null;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.