Skip to content

Fix Typescript optionality of opts for consistency #15276

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OddEssay
Copy link

Proposed changes

Fixes the initial TypeScript code example on line 148 to match the complete code snippet on line 381.
This comes up if following the TypeScript tutorial along under Define a new component, where if you start with the initial code snippet, and refactor the code manually rather than just copy-pasting the finished file example, you'll end up with a TypeScript error.

Fixes the initial TypeScript code example on line 148 to match the complete code snippet on line 381.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant