@@ -20,16 +20,16 @@ interface EventObjectProperties {
2020}
2121type ConsentAction = 'grant' | 'revoke'
2222
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 ]
3131 // fallback: allow any fbq call signature not covered above
32- | [ string , ...any [ ] ]
32+ | [ string , ...any [ ] ]
3333type FbqFns = ( ...args : FbqArgs ) => void
3434
3535export interface MetaPixelApi {
0 commit comments