UNPKG

recink

Version:

Rethink CI for JavaScript applications

20 lines (17 loc) 299 B
'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;