Closed peterphanouvong closed 3 weeks ago
The changes involve an update to the KindeUser
interface in the types.d.ts
file. The generic type parameter has been modified from <T>
to <T = void>
, which allows the type parameter to default to void
if no argument is specified. This adjustment simplifies the interface's usage without altering any underlying logic, error handling, or control flow.
File | Change Summary |
---|---|
types.d.ts | Updated KindeUser interface from <T> to <T = void> for optional type parameter. |
sequenceDiagram
participant User
participant KindeUser
User->>KindeUser: Create instance with no type argument
KindeUser->>KindeUser: Default type set to void
User->>KindeUser: Create instance with specific type argument
KindeUser->>KindeUser: Type set to specified argument
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Explain your changes
Checklist
🛟 If you need help, consider asking for advice over in the Kinde community.