diff --git a/.changeset/brave-rats-design.md b/.changeset/brave-rats-design.md new file mode 100644 index 0000000000..a7f62de4f6 --- /dev/null +++ b/.changeset/brave-rats-design.md @@ -0,0 +1,5 @@ +--- +"@clerk/backend": patch +--- + +Set proper TS type to Verification resource on backend diff --git a/packages/backend/src/api/resources/Verification.ts b/packages/backend/src/api/resources/Verification.ts index 451556ecd2..2db3814563 100644 --- a/packages/backend/src/api/resources/Verification.ts +++ b/packages/backend/src/api/resources/Verification.ts @@ -1,10 +1,10 @@ -import type { OrganizationDomainVerificationJSON } from '@clerk/types'; +import type { OrganizationDomainVerificationJSON, VerificationStatus } from '@clerk/types'; import type { VerificationJSON } from './JSON'; export class Verification { constructor( - readonly status: string, + readonly status: VerificationStatus, readonly strategy: string, readonly externalVerificationRedirectURL: URL | null = null, readonly attempts: number | null = null,