browser-tracker.selfdescribingjson
Home > @snowplow/browser-tracker > SelfDescribingJson
SelfDescribingJson type
Export interface for any Self-Describing JSON such as context or Self Describing events
Signature:type SelfDescribingJson<T = Record<string, unknown>> = {
schema: string;
data: T extends any[] ? never : T extends {} ? T : never;
};