From 28e02ac0f5f67d32554cfd168d7716cc76f5e0b6 Mon Sep 17 00:00:00 2001 From: Sam Vervaeck Date: Sat, 9 May 2020 19:55:44 +0200 Subject: [PATCH] Add declarations for the debug()-helper --- types/debug.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 types/debug.d.ts diff --git a/types/debug.d.ts b/types/debug.d.ts new file mode 100644 index 000000000..15c00ea5c --- /dev/null +++ b/types/debug.d.ts @@ -0,0 +1,9 @@ + +declare const debug: (value: any) => void; + +declare module NodeJS { + interface Global { + debug: (value: any) => void; + } +} +