import { AppSettingTreeItem } from 'vscode-azureappservice' ; import { IActionContext } from 'vscode-azureextensionui' ; import { ext } from '../extensionVariables' ; export async function editAppSetting ( context , node ? ) { if ( ! node ) { node = await ext . tree . showTreeItemPicker < AppSettingTreeItem > ( AppSettingTreeItem . contextValue , context ) ; } await node . edit ( context ) ; }