-
-
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
[fix] add app.d.ts
to template
#4244
Conversation
🦋 Changeset detectedLatest commit: d925490 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Can't validate this myself today but I would be surprised if "extends" prevents |
To be honest I am confused by this. Since
Maybe I didn't get the meaning of this. |
Now I'm facing a deploy error that I faced yesterday in my local. Maybe yesterday's deploy process used cache or something? (I didn't get why it was succeeded...) |
This is because while parsing this code, an error occurred inside
This PR added js check, therefore I think We may end up registering all adapters in |
sveltejs#4011 added @sveltejs/adapter-static . But sveltejs#4239 removed it. Then deploy process is failed. (Please see sveltejs#4244 (comment) for more details)
* add @sveltejs/adapter-static. #4011 added @sveltejs/adapter-static . But #4239 removed it. Then deploy process is failed. (Please see #4244 (comment) for more details) * workspace:^1.0.0-next.29 -> workspace:*
The deployment was successful by incorporating another PR. (#4245) |
I believe #4295 was the underlying issue, so I'll close this — thanks |
fix: #4241
After committing #4118 , type checker can not find ambient module.
It seems that
tsconfig.json
can only read ambient module that is a subdirectory of it.(Now
tsconfig.json
is at inside of.svelte-kit
folder but ambient module is inside of./node_modules/@sveltejs/kit/types
.)So AFAIK, we need to tell ambient module somehow.
So I added
app.d.ts
at root.If you have a better way, please correct me!
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
Tests
pnpm test
and lint the project withpnpm lint
andpnpm check
Changesets
pnpx changeset
and following the prompts. All changesets should bepatch
until SvelteKit 1.0