Remove undefined from atom.config.get (#22589)

This commit is contained in:
Nikolay Yakimov
2018-01-02 12:16:36 -08:00
committed by Mohamed Hegazy
parent cbf0da6545
commit 0e20cee14e
+1 -1
View File
@@ -396,7 +396,7 @@ export interface Config {
/** Retrieves the setting for the given key. */
get<T extends keyof ConfigValues>(keyPath: T, options?: { sources?: string[],
excludeSources?: string[], scope?: string[]|ScopeDescriptor }):
ConfigValues[T]|undefined;
ConfigValues[T];
/**
* Sets the value for a configuration setting.