Improve readability

This commit is contained in:
syuilo 2019-01-18 19:48:16 +09:00
parent 5c910b926f
commit 0184c659c1

View file

@ -316,21 +316,9 @@ export default abstract class Chart<T> {
const res: ArrayValue<T> = {} as any;
/**
* [{
* xxxxx: 1, yyyyy: 5
* }, {
* xxxxx: 2, yyyyy: 6
* }, {
* xxxxx: 3, yyyyy: 7
* }]
*
* [{ foo: 1, bar: 5 }, { foo: 2, bar: 6 }, { foo: 3, bar: 7 }]
*
*
* {
* xxxxx: [1, 2, 3],
* yyyyy: [5, 6, 7]
* }
*
* { foo: [1, 2, 3], bar: [5, 6, 7] }
*
*/
const dive = (x: Obj, path?: string) => {