mirror of
https://github.com/imezx/Warp.git
synced 2025-04-25 15:40:02 +00: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;
|
||
|
};
|