`, you can access the `Clerk` object without the need to check if it exists.
+
+ ```tsx filename="pages/index.tsx"
+ declare global {
+ interface Window {
+ Clerk: any;
+ }
}
- }
- export default function Home() {
- return This page uses Clerk {window.Clerk.version};
;
- }
- ```
+ export default function Home() {
+ return This page uses Clerk {window.Clerk.version};
;
+ }
+ ```
+