File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/vs/workbench/services/hover/browser Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export interface IHoverService {
30
30
* });
31
31
* ```
32
32
*/
33
- showHover ( options : IHoverOptions , focus ?: boolean ) : IHoverWidget | undefined ;
33
+ showHover ( options : Readonly < IHoverOptions > , focus ?: boolean ) : IHoverWidget | undefined ;
34
34
35
35
/**
36
36
* Hides the hover if it was visible. This call will be ignored if the the hover is currently
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export class HoverService implements IHoverService {
36
36
contextMenuService . onDidShowContextMenu ( ( ) => this . hideHover ( ) ) ;
37
37
}
38
38
39
- showHover ( options : IHoverOptions , focus ?: boolean ) : IHoverWidget | undefined {
39
+ showHover ( options : Readonly < IHoverOptions > , focus ?: boolean ) : IHoverWidget | undefined {
40
40
if ( getHoverOptionsIdentity ( this . _currentHoverOptions ) === getHoverOptionsIdentity ( options ) ) {
41
41
return undefined ;
42
42
}
You can’t perform that action at this time.
0 commit comments