Skip to content

Commit ac6dbf7

Browse files
committed
refactor(material/tooltip): make message setter to accept unknown
1 parent 412d48e commit ac6dbf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/tooltip/tooltip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ export class MatTooltip implements OnDestroy, AfterViewInit {
319319
return this._message;
320320
}
321321

322-
set message(value: string | null | undefined) {
322+
set message(value: unknown) {
323323
const oldMessage = this._message;
324324

325325
// If the message is not a string (e.g. number), convert it to a string and trim it.

0 commit comments

Comments
 (0)