/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/import{IEnvironmentVariableCollection,IEnvironmentVariableMutator,ISerializableEnvironmentVariableCollection}from'vs/workbench/contrib/terminal/common/environmentVariable';// This file is shared between the renderer and extension hostexportfunctionserializeEnvironmentVariableCollection(collection:IEnvironmentVariableCollection):ISerializableEnvironmentVariableCollection{return[...collection.entries()];}exportfunctiondeserializeEnvironmentVariableCollection(serializedCollection:ISerializableEnvironmentVariableCollection):IEnvironmentVariableCollection{returnnewMap<string,IEnvironmentVariableMutator>(serializedCollection);}