Skip to content

Conversation

@Ayoub-Mabrouk
Copy link

Refactor JSDoc for auth function: Clarify return type and documented errors

  • Refined the return type in JSDoc to (Credentials|undefined) to match the actual return value.
  • Added @throws {TypeError} in JSDoc to document errors thrown for invalid req parameter.

…errors in JSDoc

- Refined the return type in JSDoc to `(Credentials|undefined)` to match the actual return value.
- Added `@throws {TypeError}` in JSDoc to document errors thrown for invalid `req` parameter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant