import { ParseData } from './parser' ; export class ParserHelper { public static getArray ( data ) { return typeof data === 'string' ? this . stringToArray ( data as string ) : data ; } private static stringToArray ( value ) { return value . split ( '' ) ; } ; }