From 0e20cee14e2aeabd4258e887712de773b925feb6 Mon Sep 17 00:00:00 2001 From: Nikolay Yakimov Date: Tue, 2 Jan 2018 23:16:36 +0300 Subject: [PATCH] Remove undefined from atom.config.get (#22589) --- types/atom/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/atom/index.d.ts b/types/atom/index.d.ts index 7ee58bb3b5..53fa8d5749 100644 --- a/types/atom/index.d.ts +++ b/types/atom/index.d.ts @@ -396,7 +396,7 @@ export interface Config { /** Retrieves the setting for the given key. */ get(keyPath: T, options?: { sources?: string[], excludeSources?: string[], scope?: string[]|ScopeDescriptor }): - ConfigValues[T]|undefined; + ConfigValues[T]; /** * Sets the value for a configuration setting.