Skip to content

Commit 62fe090

Browse files
committed
feat: add type-checking for process variables
1 parent 2d4de4e commit 62fe090

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

examples/echo-bot-ts/environment.d.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
declare global {
2+
namespace NodeJS {
3+
interface ProcessEnv {
4+
CHANNEL_ACCESS_TOKEN: string;
5+
CHANNEL_SECRET: string;
6+
PORT: string;
7+
}
8+
}
9+
}
10+
11+
export {};

0 commit comments

Comments
 (0)