import IField from './' ; class StringCollection implements IField < string [ ] > { private _value : string [ ] = [ ] ; set ( value ) { if ( ! value ) { this . _value = [ ] ; } else if ( ! Array . isArray ( value ) ) { this . _value = [ value . toString ( ) ] ; } else { this . _value = value . map ( v => v . toString ( ) ) ; } } get ( ) { return this . _value ; } } export default StringCollection ;