Fix error in properties types
This commit is contained in:
@@ -43,7 +43,7 @@ export const reportPageview = () => {
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
export const reportInteraction = (interactionName: string, properties?: object) => {
|
||||
export const reportInteraction = (interactionName: string, properties?: Record<string, unknown>) => {
|
||||
// get static reporting context and append it to properties
|
||||
if (config.reportingStaticContext && config.reportingStaticContext instanceof Object) {
|
||||
properties = { ...properties, ...config.reportingStaticContext };
|
||||
|
||||
Reference in New Issue
Block a user