aboutsummaryrefslogtreecommitdiffstats
path: root/@types/index.d.ts
blob: 015f1eb91dbb337579544ebc3b47236dcfaf0343 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
declare global {
  interface Window {
    ferdium: any;
  }

  namespace NodeJS {
    interface ProcessEnv {
      GITHUB_AUTH_TOKEN: string;
      NODE_ENV: 'development' | 'production';
      FERDIUM_APPDATA_DIR?: string;
      PORTABLE_EXECUTABLE_DIR?: string;
      ELECTRON_IS_DEV?: string;
      APPDATA?: string;
    }
  }
}
/**
 * Workaround to make TS recognize this file as a module.
 * https://fettblog.eu/typescript-augmenting-global-lib-dom/
 */
export {};