diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-09-14 10:34:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 10:34:04 +0200 |
commit | 979ec02c9a1019152be08705986337e470eabb57 (patch) | |
tree | 6021179ad8649112717a499780f475275af487f2 /@types/index.d.ts | |
parent | refactor: defensive programming to avoid javascript error for unread badges (diff) | |
download | ferdium-app-979ec02c9a1019152be08705986337e470eabb57.tar.gz ferdium-app-979ec02c9a1019152be08705986337e470eabb57.tar.zst ferdium-app-979ec02c9a1019152be08705986337e470eabb57.zip |
chore: codebase improvements (#1930)
Diffstat (limited to '@types/index.d.ts')
-rw-r--r-- | @types/index.d.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/@types/index.d.ts b/@types/index.d.ts new file mode 100644 index 000000000..e21f88cee --- /dev/null +++ b/@types/index.d.ts | |||
@@ -0,0 +1,11 @@ | |||
1 | declare global { | ||
2 | interface Window { | ||
3 | ferdi: any; | ||
4 | } | ||
5 | } | ||
6 | |||
7 | /** | ||
8 | * Workaround to make TS recognize this file as a module. | ||
9 | * https://fettblog.eu/typescript-augmenting-global-lib-dom/ | ||
10 | */ | ||
11 | export {}; | ||