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

20 lines
315 B
JavaScript

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