UNPKG

mgm

Version:

My generic modules

14 lines (12 loc) 315 B
const BaseConverter = require('./BaseConverter'); module.exports = class StringConverter extends BaseConverter { constructor() { super(); } convertToObject(stringValue) { return stringValue; } convertToString(objectValue) { return objectValue + ''; } }