Skip to content

Commit 126faaa

Browse files
committed
refactor(material/toolbar): fix strict property initialization errors
Updates the code to be compatible with strict property initialization.
1 parent ba68517 commit 126faaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/toolbar/toolbar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class MatToolbar implements AfterViewInit {
5959
@Input() color?: string | null;
6060

6161
/** Reference to all toolbar row elements that have been projected. */
62-
@ContentChildren(MatToolbarRow, {descendants: true}) _toolbarRows: QueryList<MatToolbarRow>;
62+
@ContentChildren(MatToolbarRow, {descendants: true}) _toolbarRows!: QueryList<MatToolbarRow>;
6363

6464
constructor(...args: unknown[]);
6565
constructor() {}

0 commit comments

Comments
 (0)