-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Migration tool feedback #6059
Comments
Where did that happen specifically? AFAIK nothing is removed/added to the
I'm hesitant to do this, because people could have a reason for this. We don't know if they use TypeScript at all (or rather, have TypeScript in their package.json) in this case; if they don't the |
The I'm not sure I understand what you were suggesting about the types migration. I assumed if they already had a type declaration then they were using type checking, but it sounds like they could have that comment without TypeScript installed which would cause issues if we were to automatically migrate? Thanks for fixing the typo and reviewing this issue! |
Describe the bug
Three issues I noticed that may be able to be automatically migrated:
+page.server.js
vs+page.js
https://discord.com/channels/457912077277855764/571775594002513921/1009951261279387781/** @type {import('@sveltejs/kit').PageLoad} */
to/** @type {import('./$types').PageLoad} */
fetch
wasn't added inload
so I ended up using global fetch accidentally. not the worst though because I got a console warning about thatReproduction
noticed when working on sveltejs/sites#371
Logs
No response
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: