Skip to content

Commit

Permalink
refactor(types): include googletag in ESLint globals
Browse files Browse the repository at this point in the history
  • Loading branch information
mxdvl committed Oct 9, 2020
1 parent 8882cf8 commit c806680
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"plugin:import/warnings",
"plugin:import/typescript"
],
"globals": { "googletag": "readonly" },
"rules": {
"import/no-default-export": 2,
"import/prefer-default-export": 0,
Expand Down
1 change: 0 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export type ThirdPartyTag = {
declare global {
interface Window {
_brandmetrics?: { cmd: string; val: Record<string, unknown> }[];
// eslint-disable-next-line no-undef
googletag: googletag.Googletag;
}
}

0 comments on commit c806680

Please sign in to comment.