2025-04-19 15:38:48 +08:00

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;