Skip to content

Conversation

zarend
Copy link
Contributor

@zarend zarend commented Nov 17, 2022

In autocomplete-trigger.ts, add | null to the typing of optionally injected properties. This improves code health because the compiler can detect possible type errors with null.

@zarend zarend added refactoring This issue is related to a refactoring target: minor This PR is targeted for the next minor release area: material/autocomplete labels Nov 17, 2022
@zarend zarend requested a review from crisbeto as a code owner November 17, 2022 18:49
In autocomplete-trigger.ts, add `| null` to the typing of optionally
injected properties. This improves code health because the compiler can
detect possible type errors with `null`.
@zarend zarend force-pushed the nullable-autocomplete-trigger branch from f8de4f6 to d035863 Compare November 17, 2022 18:56
Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zarend zarend added the action: merge The PR is ready for merge by the caretaker label Nov 28, 2022
@zarend zarend self-assigned this Nov 28, 2022
@zarend zarend merged commit 922d982 into angular:main Nov 29, 2022
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: material/autocomplete refactoring This issue is related to a refactoring target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants