src/component/preprocess/abstract-transformer.js
'use strict';
/**
* Transformer interface
*/
class AbstractTransformer {
/**
* @param {*} value
*
* @throws {Error}
*/
transform(value) {
throw new Error(
`${ this.constructor.name }.transform(value) not implemented!`
);
}
}
module.exports = AbstractTransformer;