Skip to content

Commit

Permalink
Add __REDWOOD__API_PROXY_PATH to window type
Browse files Browse the repository at this point in the history
  • Loading branch information
kimadeline committed Sep 29, 2020
1 parent 6023a97 commit 3897c0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/web/src/global.web-auto-imports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ declare global {
const React: typeof _React
const PropTypes: typeof _PropTypes
const gql: typeof _gql

// Extend the existing `window` interface.
interface Window { __REDWOOD__API_PROXY_PATH: string }
}

0 comments on commit 3897c0c

Please sign in to comment.