From 17b690185ed188c3579e31770ed42bb660d6010d Mon Sep 17 00:00:00 2001 From: wobsoriano Date: Fri, 13 Dec 2024 13:25:46 -0800 Subject: [PATCH] docs(astro): Remove typescript declaration step --- docs/quickstarts/astro.mdx | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/docs/quickstarts/astro.mdx b/docs/quickstarts/astro.mdx index c46a85d9c8..637c84f096 100644 --- a/docs/quickstarts/astro.mdx +++ b/docs/quickstarts/astro.mdx @@ -105,19 +105,6 @@ description: Add authentication and user management to your Astro app with Clerk ``` 1. By default, `clerkMiddleware()` will not protect any routes. All routes are public and you must opt-in to protection for routes. See the [`clerkMiddleware()` reference](/docs/references/astro/clerk-middleware) to learn how to require authentication for specific routes. - ## Add TypeScript declarations - - Update the `env.d.ts` file in your `src/` directory to add type definitions for the `locals` added by the middleware. - - ```ts {{ prettier: false, filename: 'src/env.d.ts', mark: [3] }} - // The line directly below will only be present if you've ran your app - // Don't worry about adding it manually - /// - - /// - /// - ``` - ## Add Clerk components to your app You can control which content signed-in and signed-out users can see with Clerk's [prebuilt control components](/docs/components/overview#what-are-control-components). Create a header using the following components: