This commit is contained in:
syuilo 2018-10-21 10:24:56 +09:00
parent fed04ef5ae
commit 17263fb459
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
2 changed files with 124 additions and 87 deletions

View file

@ -228,6 +228,7 @@ abstract class Chart<T> {
*/
const dive = (x: Obj, path?: string) => {
Object.entries(x).forEach(([k, v]) => {
const p = path ? `${path}.${k}` : k;
if (typeof v == 'object') {
dive(v, p);
} else {