Add overload to allow both forms of global property setting in calq

This commit is contained in:
Tim Perry
2016-01-13 17:14:22 +01:00
parent 1984ea435f
commit c0ff329a4e
+3 -1
View File
@@ -19,7 +19,9 @@ declare module Calq
trackSale(action:string, params:{[index:string]:any}, currency:string, amount:number):void;
trackHTMLLink(action:string, params?:{[index:string]:any}):void;
trackPageView(action?:string):void;
setGlobalProperty(name:string,value:any):void;
setGlobalProperty(name:string, value:any):void;
setGlobalProperty(params?: {[index:string]: any}):void;
}
interface User