Skip to content

Commit a7fd5a6

Browse files
committed
Fix type issue in codesandbox-api
1 parent ec5e364 commit a7fd5a6

File tree

1 file changed

+2
-0
lines changed
  • packages/codesandbox-api/src/dispatcher

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
declare var process: { env: { CODESANDBOX_HOST: string | undefined } };
2+
13
const host = process.env.CODESANDBOX_HOST;
24

35
export default host || 'https://codesandbox.io';

0 commit comments

Comments
 (0)