translate-maker
Version:
Lightweight translation module. Internationalize your great project.
36 lines (30 loc) • 785 B
JavaScript
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
export default class Adapter {
constructor(options = {}) {
this.options = options;
}
getOptions() {
return this.options;
}
get(locale, namespace) {
return _asyncToGenerator(function* () {
// eslint-disable-line
throw new Error('Implement method get');
})();
}
set(locale, value, namespace) {
return _asyncToGenerator(function* () {
// eslint-disable-line
throw new Error('Implement method set');
})();
}
dehydrate() {
// eslint-disable-line
throw new Error('Implement method dehydrate');
}
rehydrate(state) {
// eslint-disable-line
throw new Error('Implement method rehydrate');
}
}
//# sourceMappingURL=Adapter.js.map