#18660·svelte

Expose `RenderOutput` from `svelte/server`

Author: Rich-HarrisCreated Aug 17, 2026Updated Sep 23, 2026

Describe the problem

SvelteKit has to do this:

javascript
/** @type {Omit<Awaited<ReturnType<typeof render>>, 'html'>} */
let rendered;

Describe the proposed solution

This:

javascript
/** @type {import('svelte/server').RenderOutput} */
let rendered;

Importance

nice to have