Add compiletime globals to the type definition.

This commit is contained in:
Bauke 2023-04-05 12:19:41 +02:00
parent 9dcca9fe3e
commit e40ebdd4c3
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 4 additions and 0 deletions

4
source/types.d.ts vendored
View File

@ -29,4 +29,8 @@ declare global {
type MoveDirection = 'up' | 'down';
}
const $browser: 'chromium' | 'firefox';
const $dev: boolean;
const $test: boolean;
}