Swap-Aggregator-Subgraph/node_modules/class-is/test/fixtures/es5/ImplicitWithoutNew.js
Richa-iitr d211083153 Revert "Revert "added handler""
This reverts commit c36ee8c5ca.
2022-07-03 07:30:05 +05:30

19 lines
423 B
JavaScript

'use strict';
const withIs = require('../../..');
function ImplicitWithoutNew() {
this.label = 'ImplicitWithoutNew';
}
ImplicitWithoutNew.prototype.getLabel = function () {
return this.label;
};
module.exports = withIs.proto(ImplicitWithoutNew, {
className: 'ImplicitWithoutNew',
symbolName: '@org/package/ImplicitWithoutNew',
withoutNew: true,
});
module.exports.WrappedClass = ImplicitWithoutNew;