Preliminary Checks
Reproduction / Replay Link
.
Publishable key
.
Description
Steps to reproduce:
- Import and use ClerkExpressWithAuth
Expected behavior:
The method should require its arguments are ClerkMiddlewareOptions like here:
https://github.com/clerkinc/javascript/blob/main/packages/sdk-node/src/clerkExpressWithAuth.ts#L13C20-L13C42
Actual behavior:
It doesn't, the wrapper method has type ...args: any:
https://github.com/clerkinc/javascript/blob/main/packages/sdk-node/src/clerkClient.ts#L78
So, you don't get any type safety using this method.
Environment
This is in the main branch of this repo.
Preliminary Checks
I have reviewed the documentation: https://clerk.com/docs
I have searched for existing issues: https://github.com/clerkinc/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 / Replay Link
.
Publishable key
.
Description
Steps to reproduce:
Expected behavior:
The method should require its arguments are
ClerkMiddlewareOptionslike here:https://github.com/clerkinc/javascript/blob/main/packages/sdk-node/src/clerkExpressWithAuth.ts#L13C20-L13C42
Actual behavior:
It doesn't, the wrapper method has type
...args: any:https://github.com/clerkinc/javascript/blob/main/packages/sdk-node/src/clerkClient.ts#L78
So, you don't get any type safety using this method.
Environment
This is in the main branch of this repo.