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

18 lines
314 B
JavaScript

'use strict';
const withIs = require('../../..');
function Animal(type) {
this.type = type;
}
Animal.prototype.getType = function () {
return this.type;
};
module.exports = withIs.proto(Animal, {
className: 'Animal',
symbolName: '@org/package/Animal',
});
module.exports.WrappedClass = Animal;