diff --git a/examples/hn.svelte.dev/src/routes/[list]/rss.js b/examples/hn.svelte.dev/src/routes/[list]/rss.js index eb03997ad1d5..f98d0c286796 100644 --- a/examples/hn.svelte.dev/src/routes/[list]/rss.js +++ b/examples/hn.svelte.dev/src/routes/[list]/rss.js @@ -1,6 +1,6 @@ /** * @param {string} list - * @param {Record[]} items + * @param {Record[]} items */ const render = (list, items) => ` @@ -34,7 +34,7 @@ const render = (list, items) => ` /** * @type {import('@sveltejs/kit').RequestHandler} */ -export function get({params}) { +export function get({ params }) { const list = params.list === 'top' ? 'news' : params.list === 'new' ? 'newest' : params.list;