about summary refs log tree commit diff
path: root/editors/code/src
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2019-12-31 02:27:26 +0100
committerAleksey Kladov <aleksey.kladov@gmail.com>2019-12-31 02:27:26 +0100
commit96de8076ff50096a0ae62c5eb7a2e9c77971b552 (patch)
tree29733d5f9a20475adc299a6bb363ea472762d93a /editors/code/src
parent6561634c687cad2d1b7041b45b618d1c336f2e68 (diff)
downloadrust-96de8076ff50096a0ae62c5eb7a2e9c77971b552.tar.gz
rust-96de8076ff50096a0ae62c5eb7a2e9c77971b552.zip
Use optional value shortcut
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/scopes.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/code/src/scopes.ts b/editors/code/src/scopes.ts
index 46555633300..f98b57452a7 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