-
Notifications
You must be signed in to change notification settings - Fork 12
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
Incorrectly leaves import
in place
#34
Comments
Is this still happening? There were no typechecking issues on the PR after upgrading to the latest |
I expect it is still happening if you revert the commit @s3812497 added to the PR that he was calling a workaround: sveltejs/kit@c68d625. I'm not sure exactly why that fixed it or if we want to say that's how you have to use it rather than calling it a workaround |
For some reason it couldn't resolve the |
FYI I think this is fixed in the latest |
sveltejs/kit#9605 includes a line in
navigation.js
:I believe this is incorrect. However,
dts-buddy
is still able to generate some output:I think the line in
navigation.js
should be updated to includeimport('types')
:If I do so then
dts-buddy
then generates:It seems correct that
dts-buddy
then generates a type declaration forMaybePromise
, but incorrect that it leaves theimport('types')
in place.The text was updated successfully, but these errors were encountered: