diff --git a/batcher-ui/global.d.ts b/batcher-ui/global.d.ts new file mode 100644 index 00000000..2fb6c50d --- /dev/null +++ b/batcher-ui/global.d.ts @@ -0,0 +1,8 @@ +declare global { + namespace NodeJS { + interface ProcessEnv { + SECRET: string; + } + } +} +export {}; diff --git a/batcher-ui/tsconfig.json b/batcher-ui/tsconfig.json index eb9ff0d4..16fdf964 100644 --- a/batcher-ui/tsconfig.json +++ b/batcher-ui/tsconfig.json @@ -24,7 +24,7 @@ "incremental": true, "esModuleInterop": true, "isolatedModules": true, - "module": "esnext" + "module": "esnext", }, "include": [ "src/utils/**/*", @@ -36,7 +36,8 @@ ".eslintrc.json", ".prettierrc.json", "jest.config.js", - "pages/*" + "pages/*", + "global.d.ts" ], "exclude": [ "node_modules",