Skip to content

Commit

Permalink
ThemeIcon & LinkedEditingRanges: Use | undefined. For #124362
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli committed Nov 11, 2021
1 parent ec5486b commit 2864014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/vscode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ declare module 'vscode' {
/**
* The optional ThemeColor of the icon. The color is currently only used in {@link TreeItem}.
*/
readonly color?: ThemeColor;
readonly color?: ThemeColor | undefined;

/**
* Creates a reference to a theme icon.
Expand Down Expand Up @@ -4907,7 +4907,7 @@ declare module 'vscode' {
* An optional word pattern that describes valid contents for the given ranges.
* If no pattern is provided, the language configuration's word pattern will be used.
*/
readonly wordPattern?: RegExp;
readonly wordPattern: RegExp | undefined;
}

/**
Expand Down

0 comments on commit 2864014

Please sign in to comment.