Skip to content

Commit 4caf039

Browse files
authored
refactor(material-experimental/mdc-tooltip): add override keyword to satisfy noImplicitOverride (#23017)
Given we merged the `noImplicitOverride` PR together with a couple of other PRs, new methods could have been introduced that did not use the `override` keyword. This is the case for the MDC tooltip `_onShow` method. This commit adds the necessary `override` keyword.
1 parent 17667b8 commit 4caf039

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/material-experimental/mdc-tooltip/tooltip.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ export class TooltipComponent extends _TooltipComponentBase {
122122
super(changeDetectorRef);
123123
}
124124

125-
/** @override */
126-
protected _onShow(): void {
125+
protected override _onShow(): void {
127126
this._isMultiline = this._isTooltipMultiline();
128127
}
129128

0 commit comments

Comments
 (0)