Rich Harris
Rich Harris
### Describe the problem This is pretty confusing if you're looking at the docs in TypeScript mode:  ### Describe the proposed solution Include generics in the generated TS ###...
### Describe the problem There are some utility types that are exported from `@sveltejs/kit` but only so they can be imported by the generated `$types.d.ts` files. In the docs, they...
Ways that types in SvelteKit apps could be improved: ## Implicit `params` and `props` for `load` functions (update: done) ```svelte /** @type {import('@sveltejs/kit').Load */ export async function load({ params, fetch...
### Describe the problem As noted in https://github.com/sveltejs/kit/issues/909#issuecomment-1004128975, most adapters don't configure cache-control headers for the three categories of static assets — hashed (Vite output), `static` directory contents, and prerendered...
closes #7640. ~~need to check that prerendered pages (with/without trailing slashes) will still work with this setup.~~ cc @jrf0110 — this causes all static assets to bypass functions (or rather,...
Another stepping stone on the way to #7967 (which at this point is less important than the codebase improvements it's driving). Right now the `vite` directory is a bit of...
closes #8240 ### Please don't delete this checklist! Before submitting the PR, please make sure you do the following: - [x] It's really useful if your PR references an issue...
closes #5749. This is just an idea; I don't know if it's the right one. In order to make it easier to determine response content length inside `handle`, for logging...
* [x] need to merge/release https://github.com/sveltejs/site-kit/pull/57 first
### Describe the problem When running a `load` function, SvelteKit notes what dependencies the function has... * `url.pathname`, `url.search`, etc * `params.x`, `params.y` * resources loaded with `fetch` * `await...