Skip to content

Commit 41b74a1

Browse files
chore(lint): Fix the build
1 parent 25d3049 commit 41b74a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/analytics/analytics.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ export class AngularFireAnalytics {
6464

6565
if (!analyticsInitialized) {
6666
if (isPlatformBrowser(platformId)) {
67-
gtag = window[GTAG_FUNCTION_NAME] || (() => {
68-
window[DATA_LAYER_NAME].push(arguments);
67+
gtag = window[GTAG_FUNCTION_NAME] || ((...args: any[]) => {
68+
window[DATA_LAYER_NAME].push(args);
6969
});
7070
window[DATA_LAYER_NAME] = window[DATA_LAYER_NAME] || [];
7171
analyticsInitialized = zone.runOutsideAngular(() =>

0 commit comments

Comments
 (0)