@segment/analytics-next
Version:
Analytics Next (aka Analytics 2.0) is the latest version of Segment’s JavaScript SDK - enabling you to send your data to any tool without having to learn, test, or use a new API every time.
13 lines • 586 B
TypeScript
import { JSONObject, Options } from '../core/events/interfaces';
import { CDNSettings } from '../browser';
/**
* Merge legacy settings and initialized Integration option overrides.
*
* This will merge any options that were passed from initialization into
* overrides for settings that are returned by the Segment CDN.
*
* i.e. this allows for passing options directly into destinations from
* the Analytics constructor.
*/
export declare function mergedOptions(cdnSettings: CDNSettings, options: Options): Record<string, JSONObject>;
//# sourceMappingURL=merged-options.d.ts.map