Skip to content

Commit 7c88bce

Browse files
authored
refactor(material/select): removed the redundant initializer in select file (#27555)
1 parent 76e3172 commit 7c88bce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/select/select.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,7 @@ export class MatSelect
12791279

12801280
/** Emits change event to set the model value. */
12811281
private _propagateChanges(fallbackValue?: any): void {
1282-
let valueToEmit: any = null;
1282+
let valueToEmit: any;
12831283

12841284
if (this.multiple) {
12851285
valueToEmit = (this.selected as MatOption[]).map(option => option.value);

0 commit comments

Comments
 (0)