Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fixed type error in SvelteKit user management app tutorial (#23371)

Honzoraptor40b9a1f33580
diff --git a/apps/docs/content/guides/getting-started/tutorials/with-sveltekit.mdx b/apps/docs/content/guides/getting-started/tutorials/with-sveltekit.mdx
index a8d81139f41..cc48e134864 100644
--- a/apps/docs/content/guides/getting-started/tutorials/with-sveltekit.mdx
+++ b/apps/docs/content/guides/getting-started/tutorials/with-sveltekit.mdx
@@ -336,9 +336,9 @@ export const GET = async ({ url, locals: { supabase } }) => {
```ts title=src/routes/auth/callback/+server.ts
// src/routes/auth/callback/+server.ts
-import { redirect } from '@sveltejs/kit'
+import { redirect, type RequestHandler } from '@sveltejs/kit'
-export const GET = async ({ url, locals: { supabase } }) => {
+export const GET: RequestHandler = async ({ url, locals: { supabase } }) => {
const code = url.searchParams.get('code')
if (code) {