From e40ebdd4c3d870a769020a2671f086a65f0ff69e Mon Sep 17 00:00:00 2001 From: Bauke Date: Wed, 5 Apr 2023 12:19:41 +0200 Subject: [PATCH] Add compiletime globals to the type definition. --- source/types.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/types.d.ts b/source/types.d.ts index 9d8f154..fb653d0 100644 --- a/source/types.d.ts +++ b/source/types.d.ts @@ -29,4 +29,8 @@ declare global { type MoveDirection = 'up' | 'down'; } + + const $browser: 'chromium' | 'firefox'; + const $dev: boolean; + const $test: boolean; }