@@ -20,16 +20,16 @@ interface EventObjectProperties {
20
20
}
21
21
type ConsentAction = 'grant' | 'revoke'
22
22
23
- type FbqArgs =
24
- | [ 'track' , StandardEvents , EventObjectProperties ?]
25
- | [ 'trackCustom' , string , EventObjectProperties ?]
26
- | [ 'trackSingle' , string , StandardEvents , EventObjectProperties ?]
27
- | [ 'trackSingleCustom' , string , string , EventObjectProperties ?]
28
- | [ 'init' , string ]
29
- | [ 'init' , number , Record < string , any > ?]
30
- | [ 'consent' , ConsentAction ]
23
+ type FbqArgs
24
+ = | [ 'track' , StandardEvents , EventObjectProperties ?]
25
+ | [ 'trackCustom' , string , EventObjectProperties ?]
26
+ | [ 'trackSingle' , string , StandardEvents , EventObjectProperties ?]
27
+ | [ 'trackSingleCustom' , string , string , EventObjectProperties ?]
28
+ | [ 'init' , string ]
29
+ | [ 'init' , number , Record < string , any > ?]
30
+ | [ 'consent' , ConsentAction ]
31
31
// fallback: allow any fbq call signature not covered above
32
- | [ string , ...any [ ] ]
32
+ | [ string , ...any [ ] ]
33
33
type FbqFns = ( ...args : FbqArgs ) => void
34
34
35
35
export interface MetaPixelApi {
0 commit comments