Implemente feedback

This commit is contained in:
Sandeep Somavarapu
2017-07-25 20:13:45 +05:30
parent 06550ab0c3
commit 5a622a9967
3 changed files with 29 additions and 29 deletions

View File

@@ -30,7 +30,7 @@ type ConfigurationInspect<T> = {
defaultValue?: T;
globalValue?: T;
workspaceValue?: T;
folderValue?: T;
workspaceFolderValue?: T;
};
export class ExtHostConfiguration extends ExtHostConfigurationShape {
@@ -87,7 +87,7 @@ export class ExtHostConfiguration extends ExtHostConfigurationShape {
}
return result;
},
update: (key: string, value: any, arg: boolean | ExtHostConfigurationTarget) => {
update: (key: string, value: any, arg: ExtHostConfigurationTarget | boolean) => {
key = section ? `${section}.${key}` : key;
const target = parseConfigurationTarget(arg);
if (value !== void 0) {
@@ -105,7 +105,7 @@ export class ExtHostConfiguration extends ExtHostConfigurationShape {
defaultValue: config.default,
globalValue: config.user,
workspaceValue: config.workspace,
folderValue: config.folder
workspaceFolderValue: config.folder
};
}
return undefined;