Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/material/radio/radio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ import {Subscription} from 'rxjs';
import {_CdkPrivateStyleLoader} from '@angular/cdk/private';

/** Change event object emitted by radio button and radio group. */
export class MatRadioChange {
export class MatRadioChange<T = any> {
constructor(
/** The radio button that emits the change event. */
public source: MatRadioButton,
/** The value of the radio button. */
public value: any,
public value: T,
) {}
}

Expand Down
6 changes: 3 additions & 3 deletions tools/public_api_guard/material/radio.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ export class MatRadioButton implements OnInit, AfterViewInit, DoCheck, OnDestroy
}

// @public
export class MatRadioChange {
export class MatRadioChange<T = any> {
constructor(
source: MatRadioButton,
value: any);
value: T);
source: MatRadioButton;
value: any;
value: T;
}

// @public (undocumented)
Expand Down
Loading