We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb2c760 commit 74c0ae7Copy full SHA for 74c0ae7
projects/angular/a11y/src/queued-announcer/queued-announcer.ts
@@ -16,7 +16,8 @@ export class QueuedAnnouncer {
16
17
constructor(private _liveAnnouncer: LiveAnnouncer) { }
18
19
- enqueue(msg: string) {
+ enqueue(msg: string | undefined) {
20
+ if (!msg) { return; }
21
this._msgQueue.push(msg);
22
23
if (!this._isAnnouncing) {
0 commit comments