Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Refactor JSDoc for auth function: Clarify return type and document errors#62

Open
Ayoub-Mabrouk wants to merge 1 commit intojshttp:master from
Ayoub-Mabrouk:chore/auth-jsDocs
Open

Refactor JSDoc for auth function: Clarify return type and document errors #62
Ayoub-Mabrouk wants to merge 1 commit intojshttp:master from
Ayoub-Mabrouk:chore/auth-jsDocs

Conversation

@Ayoub-Mabrouk
Copy link

@Ayoub-Mabrouk Ayoub-Mabrouk commented Nov 7, 2024

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /