shopee-client
Version:
Shoppe Open API Client
18 lines (17 loc) • 626 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var ClientNotSetError_1 = __importDefault(require("../error/ClientNotSetError"));
var BaseModule = /** @class */ (function () {
function BaseModule(client, config) {
this.client = client;
this.config = config;
if (!client) {
throw new ClientNotSetError_1.default("axios instance not defined.");
}
}
return BaseModule;
}());
exports.default = BaseModule;