@launchdarkly/js-server-sdk-common
Version:
LaunchDarkly Server SDK for JavaScript - common code
11 lines • 525 B
TypeScript
import { LDPluginEnvironmentMetadata, Platform } from '@launchdarkly/js-sdk-common';
import Configuration from './options/Configuration';
/**
* Mutable utility type to allow building up a readonly object from a mutable one.
*/
type Mutable<T> = {
-readonly [P in keyof T]: Mutable<T[P]>;
};
export declare function createPluginEnvironmentMetadata(_platform: Platform, _sdkKey: string, config: Configuration): Mutable<LDPluginEnvironmentMetadata>;
export {};
//# sourceMappingURL=createPluginEnvironmentMetadata.d.ts.map