From d9af8cb1913172e2138852c37b6869b7e41cbc92 Mon Sep 17 00:00:00 2001 From: Noctis Hsu Date: Fri, 1 Apr 2016 14:31:21 +0800 Subject: [PATCH] fix error 'Index signature of object type implicitly has an 'any' type.' --- facebook-pixel/facebook-pixel-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/facebook-pixel/facebook-pixel-tests.ts b/facebook-pixel/facebook-pixel-tests.ts index e29190d23..94e2b50b5 100644 --- a/facebook-pixel/facebook-pixel-tests.ts +++ b/facebook-pixel/facebook-pixel-tests.ts @@ -14,7 +14,7 @@ fbq('track', 'Purchase', purchaseParam); // Custom event (can only be used for audience building) -var custom_params:any = {custom_param: 'custom_value'}; +var custom_params = {custom_param: 'custom_value'}; fbq('trackCustom', 'MyCustomEvent', custom_params); // Reach customers that viewed a product in the 'Shoes' category