-
Notifications
You must be signed in to change notification settings - Fork 401
Closed
Closed
Copy link
Labels
needs-triageA ticket that needs to be triaged by a team memberA ticket that needs to be triaged by a team member
Description
Preliminary Checks
-
I have reviewed the documentation: https://clerk.com/docs
-
I have searched for existing issues: https://github.com/clerk/javascript/issues
-
I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
-
This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
Reproduction
https://github.com/Wendrowiec13/clerk-missing-type-reproduction
Publishable key
pk_test_aW50ZWdyYWwtbWFybW90LTM1LmNsZXJrLmFjY291bnRzLmRldiQ
Description
Steps to reproduce:
- import type { WebhookEvent } from "@clerk/backend";
- Use the data from the webhook based on type
- When trying to access webhookData.data.payer I get a TS error saying
Property 'payer' does not exist on type 'BillingSubscriptionItemWebhookEventJSON'.
Expected behavior:
Expect the payer field to be present based on event catalog in the webhooks section of the dashboard.
Actual behavior:
The payer field is not present.
Environment
System:
OS: macOS 15.6
CPU: (8) arm64 Apple M1 Pro
Memory: 72.83 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 21.4.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.2.4 - /usr/local/bin/npm
pnpm: 10.18.3 - /opt/homebrew/bin/pnpm
bun: 1.2.20 - /Users/mateuszkelner/.bun/bin/bun
Watchman: 2025.02.17.00 - /opt/homebrew/bin/watchman
Browsers:
Chrome: 141.0.7390.108
Firefox: 139.0.4
Safari: 18.6
npmPackages:
@ai-sdk/openai: ^2.0.32 => 2.0.32
@anthropic-ai/sdk: ^0.65.0 => 0.65.0
@browserbasehq/stagehand: ^2.3.3 => 2.5.0
@clerk/backend: ^2.18.2 => 2.18.2
@clerk/clerk-react: ^5.25.0 => 5.45.0
@clerk/nextjs: ^6.12.6 => 6.31.6
@eslint/eslintrc: ^3 => 3.3.1
@fal-ai/client: ^1.6.2 => 1.6.2
@tailwindcss/postcss: ^4 => 4.1.12
@types/node: ^20 => 20.19.11
@types/react: ^19 => 19.1.12
@types/react-dom: ^19 => 19.1.9
ai: ^5.0.29 => 5.0.29
convex: ^1.23.0 => 1.26.2
eslint: ^9 => 9.34.0
eslint-config-next: 15.2.3 => 15.2.3
lucide-react: ^0.542.0 => 0.542.0
next: ^15.5.4 => 15.5.4
npm-run-all: ^4.1.5 => 4.1.5
nuqs: ^2.7.1 => 2.7.1
openai: ^5.22.0 => 5.22.0
posthog-js: ^1.275.0 => 1.275.0
prettier: ^3.5.3 => 3.6.2
react: ^19.0.0 => 19.1.1
react-dom: ^19.0.0 => 19.1.1
recharts: ^3.1.2 => 3.1.2
sonner: ^2.0.7 => 2.0.7
svix: ^1.76.1 => 1.76.1
tailwindcss: ^4 => 4.1.12
typescript: ^5 => 5.9.2
vaul: ^1.1.2 => 1.1.2Metadata
Metadata
Assignees
Labels
needs-triageA ticket that needs to be triaged by a team memberA ticket that needs to be triaged by a team member