Update project
This commit is contained in:
parent
bcbf4224c2
commit
fd64d9491d
1 changed files with 309 additions and 97 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…
Reference in a new issue