UNPKG

@intlayer/config

Version:

Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.

1 lines 495 B
{"version":3,"sources":["../../../../src/envVariables/extractEnvVariable/types.ts"],"sourcesContent":["import type { IntlayerConfig } from '../../client';\n\n// Utility type that replaces all values of a given type with another type\nexport type ReplaceValue<T> = {\n [K in keyof T]: string | number | boolean | undefined;\n};\n\nexport type IntlayerConfigEnvVariable = {\n [K in keyof IntlayerConfig]: ReplaceValue<IntlayerConfig[K]>;\n};\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}