Skip to content

Commit

Permalink
fix(helpers): props added to window should be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
crimx committed Jan 21, 2018
1 parent 8fd4ba5 commit 1f12b26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/_helpers/browser-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
/** For self page messaging */
declare global {
interface Window {
pageId: number | string
faviconURL: string
pageTitle: string
pageURL: string
pageId?: number | string
faviconURL?: string
pageTitle?: string
pageURL?: string
}
}

Expand Down

0 comments on commit 1f12b26

Please sign in to comment.