Skip to content

Commit

Permalink
fix: allow explicit any for gtag typing
Browse files Browse the repository at this point in the history
  • Loading branch information
pascaliske committed Jun 16, 2021
1 parent 7a1a371 commit 631b5f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/typings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ declare const APP_VERSION: string
/**
* Google Analytics Functions.
*/
declare let gtag: (event: string, eventName: string, options: Record<string, unknown>) => void
// eslint-disable-next-line @typescript-eslint/no-explicit-any
declare let gtag: (event: string, eventName: string, options: Record<string, any>) => void
declare let gtagInit: (window: Window, document: Document) => void
declare let gtagOut: () => void

0 comments on commit 631b5f7

Please sign in to comment.