[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.jsoncan only read ambient module that is a subdirectory of it.(Now
tsconfig.jsonis at inside of.svelte-kitfolder 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.tsat 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 testand lint the project withpnpm lintandpnpm checkChangesets
pnpx changesetand following the prompts. All changesets should bepatchuntil SvelteKit 1.0