### Describe the bug After https://github.com/sveltejs/kit/pull/13684 I get `Failed to statically analyse` when I have additional function with generics: ```ts // import {} from './config' const loadDataWithGeneric = async <T>() => {}; export const load = () => {}; ``` Comment is needed as well, to trigger it. ### Reproduction [Reproduction](https://stackblitz.com/edit/sveltejs-kit-template-default-qs3tppez?description=The%20default%20SvelteKit%20template,%20generated%20with%20create-svelte&file=package.json,src%2Froutes%2F%2Blayout.ts&title=SvelteKit%20Default%20Template) ### Logs ```Shell SyntaxError: Failed to statically analyse src/routes/(app)/+layout.ts. Unexpected token (3:40) ... acorn/dist/acorn.mjs:596:15) { pos: 70, loc: Position { line: 3, column: 40 }, raisedAt: 72 } ``` ### System Info ```Shell npmPackages: @sveltejs/adapter-static: ^3.0.8 => 3.0.8 @sveltejs/kit: ^2.21.1 => 2.21.1 @sveltejs/vite-plugin-svelte: 5.0.3 => 5.0.3 rolldown-vite: 6.3.10 svelte: ^5.31.1 => 5.31.1 ``` ### Severity blocking an upgrade ### Additional Information _No response_