const serverhost = 'https://restapi.amap.com/v3';
export class RequestBase {
  constructor(options) {
    if (!options.key) {
      throw new Error("options.key can't be undefined or null");
    }
    this.serverHost = options.serverHost || serverhost;
    this.key = options.key;
  }
}
//# sourceMappingURL=base.js.map