@launchdarkly/js-server-sdk-common
Version:
LaunchDarkly Server SDK for JavaScript - common code
12 lines • 664 B
TypeScript
import { internal } from '@launchdarkly/js-sdk-common';
import { LDMigrationOpEvent } from './api';
/**
* Migration events can be generated directly in user code and may not follow the shape
* expected by the TypeScript definitions. So we do some validation on these events, as well
* as copying the data out of them, to reduce the amount of invalid data we may send.
*
* @param inEvent The event to process.
* @returns An event, or undefined if it could not be converted.
*/
export default function MigrationOpEventToInputEvent(inEvent: LDMigrationOpEvent): internal.InputMigrationEvent | undefined;
//# sourceMappingURL=MigrationOpEventConversion.d.ts.map