From 96de8076ff50096a0ae62c5eb7a2e9c77971b552 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 31 Dec 2019 02:27:26 +0100 Subject: Use optional value shortcut --- editors/code/src/scopes.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editors') diff --git a/editors/code/src/scopes.ts b/editors/code/src/scopes.ts index 465556333..f98b57452 100644 --- a/editors/code/src/scopes.ts +++ b/editors/code/src/scopes.ts @@ -9,9 +9,9 @@ export interface TextMateRule { } export interface TextMateRuleSettings { - foreground: string | undefined; - background: string | undefined; - fontStyle: string | undefined; + foreground?: string; + background?: string; + fontStyle?: string; } // Current theme colors -- cgit v1.2.3