aboutsummaryrefslogtreecommitdiff
path: root/src/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/utils.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils.ts b/src/utils.ts
index 7e3009f..8e3abb9 100644
--- a/src/utils.ts
+++ b/src/utils.ts
@@ -22,3 +22,6 @@ export const constructors = <T extends Record<string, any>>(): {
},
},
) as any
+
+export const jlog = (x: any) => console.log(JSON.stringify(x, null, 2))
+