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:
Matt Bierner
2021-11-02 14:20:32 -07:00
parent 9c2b239e2e
commit 87802c41fb
2 changed files with 2 additions and 2 deletions

View File

@@ -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 {