manan-data 0.0.0

inventyv tikv datalayer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
export default function validateEnvironmentVariables(environmentVariables) {
	if (!environmentVariables) {
		return {};
	}

	for (const value of Object.values(environmentVariables)) {
		if (typeof value !== 'string') {
			throw new TypeError('The ’environmentVariables’ configuration must be an object containing string values.');
		}
	}

	return environmentVariables;
}