Viewing File: /home/ubuntu/walnutminds-ecom-frontend-base/node_modules/class-is/test/fixtures/es5/Plant.js

'use strict';

const withIs = require('../../..');

function Plant(type) {
    this.type = type;
}

Plant.prototype.getType = function () {
    return this.type;
};

module.exports = withIs.proto(Plant, {
    className: 'Plant',
    symbolName: '@org/package/Plant',
});
module.exports.WrappedClass = Plant;
Back to Directory File Manager