Skip to content

Commit 524862a

Browse files
koss-lebedevLekoArts
authored andcommitted
fix(gatsby-plugin-google-analytics): Update typings (#19684)
1 parent ca4a65c commit 524862a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/gatsby-plugin-google-analytics/index.d.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ export interface CustomEventArgs {
1414
action: string
1515
label?: string
1616
value?: string
17-
nonInteraction: boolean
18-
transport: "beacon" | "xhr" | "image"
19-
hitCallback: Function
20-
callbackTimeout: Number
17+
nonInteraction?: boolean
18+
transport?: "beacon" | "xhr" | "image"
19+
hitCallback?: Function
20+
callbackTimeout?: Number
2121
}
2222

2323
export function trackCustomEvent(args: CustomEventArgs): void

0 commit comments

Comments
 (0)