mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
Add readonly to iconPath properties
To update the icon, you have to update the entire object, not just `.light`/`.dark`
This commit is contained in:
@@ -17,7 +17,7 @@ import * as extHostProtocol from './extHost.protocol';
|
||||
import * as extHostTypes from './extHostTypes';
|
||||
|
||||
|
||||
type IconPath = URI | { light: URI, dark: URI };
|
||||
type IconPath = URI | { readonly light: URI, readonly dark: URI };
|
||||
|
||||
class ExtHostWebviewPanel extends Disposable implements vscode.WebviewPanel {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user