]> git.lizzy.rs Git - rust.git/commitdiff
Use optional value shortcut
authorAleksey Kladov <aleksey.kladov@gmail.com>
Tue, 31 Dec 2019 01:27:26 +0000 (02:27 +0100)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Tue, 31 Dec 2019 01:27:26 +0000 (02:27 +0100)
editors/code/src/scopes.ts

index 46555633300d769694e08717d09c7f58b0ea64a4..f98b57452a717eb93ad6f0022b461a599816ed86 100644 (file)
@@ -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