You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have a regular Nextjs 13 App, and I'm using Clerk for auth.
How can I redeclare the UserPrivateMetadata interface for the whole app?
/**
* If you want to provide custom types for the user.privateMetadata object,
* simply redeclare this rule in the global namespace.
* Every user object will use the provided type.
*/
interface UserPrivateMetadata {
[k: string]: unknown;
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I have a regular Nextjs 13 App, and I'm using Clerk for auth.
How can I redeclare the UserPrivateMetadata interface for the whole app?
Beta Was this translation helpful? Give feedback.
All reactions