mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-11 20:04:55 +02:00
9 lines
390 B
TypeScript
9 lines
390 B
TypeScript
import type { InsightsAdditionalEventParams } from "../types";
|
|
export type WithAdditionalParams<TEventType> = InsightsAdditionalEventParams | TEventType;
|
|
export declare function extractAdditionalParams<TEventType extends {
|
|
index: string;
|
|
}>(params: Array<InsightsAdditionalEventParams | TEventType>): {
|
|
events: TEventType[];
|
|
additionalParams?: InsightsAdditionalEventParams;
|
|
};
|