-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fixneeds: discussionFurther discussion with the team is needed before proceedingFurther discussion with the team is needed before proceeding
Description
Bug, feature request, or proposal:
Proposal
What is the expected behavior?
Stronger typed MdDialogRef<T, U> class with something like close(dialogResult?: U) method. Or may be close method should accept some sort of template class like MdDialogResult or something.
What is the current behavior?
MdDialogRef's close() method accepts argument of type any.
What are the steps to reproduce?
N/a
What is the use-case or motivation for changing an existing behavior?
Follow TypeScript way
Which versions of Angular, Material, OS, browsers are affected?
Any
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fixneeds: discussionFurther discussion with the team is needed before proceedingFurther discussion with the team is needed before proceeding