-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix: update two code snippets in the tutorial #10727
Conversation
We use `any` before to avoid a Typescript error but it is missing in the Code Check-In. So if someone decide to replace their code with the one suggested in Code Check-In they'll get a Typescript error.
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
✅ Deploy Preview for astro-docs-2 ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Looks great, thank you!
Signed-off-by: Thomas Bonnet <[email protected]>
Signed-off-by: Thomas Bonnet <[email protected]>
Description (required)
I followed the tutorial again to check the consistency between the tutorial and the
blog-tutorial-demo
repository (see withastro/blog-tutorial-demo#39 and withastro/blog-tutorial-demo#40). Almost everything looks good here, I only updated two things:any
in the code check-in of unit 5-3 to prevent a Typescript error (if someone tries to replace his code) and to match what we had before.Related issues & labels (optional)