-
Notifications
You must be signed in to change notification settings - Fork 26.5k
docs(docs-infra): mark properties as readonly if they shouldn't change #63200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
docs(docs-infra): mark properties as readonly if they shouldn't change #63200
Conversation
adev/shared-docs/components/search-dialog/search-dialog.component.ts
Outdated
Show resolved
Hide resolved
...c/app/features/references/api-reference-details-page/api-reference-details-page.component.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, please squash the commits.
1c0ac76
to
62ba209
Compare
adev/shared-docs/components/top-level-banner/top-level-banner.component.ts
Outdated
Show resolved
Hide resolved
We'll need you to squash the changes again as the latest commit is not a fixup. Thank you. |
8236533
to
49555ca
Compare
readonly onClose = output(); | ||
readonly dialog = viewChild.required<ElementRef<HTMLDialogElement>>('searchDialog'); | ||
readonly items = viewChildren(SearchItem); | ||
readonly textField = viewChild(TextField); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets do the same with the other props in the file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it’s already implemented. Can you specify which files are missing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
l71-73
searchQuery = this.search.searchQuery;
resultsResource = this.search.resultsResource;
searchResults = this.search.searchResults;
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information