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 {
3030 * });
3131 * ```
3232 */
33- showHover ( options : IHoverOptions , focus ?: boolean ) : IHoverWidget | undefined ;
33+ showHover ( options : Readonly < IHoverOptions > , focus ?: boolean ) : IHoverWidget | undefined ;
3434
3535 /**
3636 * 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 {
3636 contextMenuService . onDidShowContextMenu ( ( ) => this . hideHover ( ) ) ;
3737 }
3838
39- showHover ( options : IHoverOptions , focus ?: boolean ) : IHoverWidget | undefined {
39+ showHover ( options : Readonly < IHoverOptions > , focus ?: boolean ) : IHoverWidget | undefined {
4040 if ( getHoverOptionsIdentity ( this . _currentHoverOptions ) === getHoverOptionsIdentity ( options ) ) {
4141 return undefined ;
4242 }
You can’t perform that action at this time.
0 commit comments