Update project
This commit is contained in:
parent
bcbf4224c2
commit
fd64d9491d
16 changed files with 311 additions and 99 deletions
2
src/helper/pretty-print.ts
Normal file
2
src/helper/pretty-print.ts
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export const prettyPrint = (o: any): string =>
|
||||
JSON.stringify(o, (_, v) => (v.toFixed ? Number(v.toFixed(2)) : v), ' ');
|
||||
Loading…
Add table
Add a link
Reference in a new issue