Skip to main content

Clerk types

Types are a powerful tool for adding type-safety to your application. They can help you catch bugs early, make your code easier to understand, and make your code easier to refactor. Clerk provides a number of types to help you add type-safety to your application.

Import types from your SDK's public /types entry point using a type-only import.

import type { UserResource } from '@clerk/vue/types'

Feedback

What did you think of this content?

Last updated on