diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2019-12-31 02:27:26 +0100 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2019-12-31 02:27:26 +0100 |
| commit | 96de8076ff50096a0ae62c5eb7a2e9c77971b552 (patch) | |
| tree | 29733d5f9a20475adc299a6bb363ea472762d93a /editors/code/src | |
| parent | 6561634c687cad2d1b7041b45b618d1c336f2e68 (diff) | |
| download | rust-96de8076ff50096a0ae62c5eb7a2e9c77971b552.tar.gz rust-96de8076ff50096a0ae62c5eb7a2e9c77971b552.zip | |
Use optional value shortcut
Diffstat (limited to 'editors/code/src')
| -rw-r--r-- | editors/code/src/scopes.ts | 6 |
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 |
