Commit 6edd1d06 by Vladislav Lagunov

Улучшена печать типов в configInfo

parent f1b9f7f2
......@@ -221,7 +221,7 @@ export function configInfo(decoder: RecordDecoder<any>, prefix=''): Record<strin
}
if (d instanceof t.Variants) {
return { type: d._variants.map(x => JSON.stringify(x)).join('|') };
return { type: d._variants.map(x => typeof(x) === 'string' ? x : JSON.stringify(x)).join('|') };
}
const info = go(d.toDecoder());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment