1
0
forked from mirror/misskey

Improve readability

This commit is contained in:
syuilo 2019-01-18 19:48:16 +09:00
parent abddea0443
commit 0887580132
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

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) => {