-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: improve toClassName function readability and JSDoc complete…
…ness - Replaced substr with slice for better readability and consistency. - Updated JSDoc to include @param and @returns tags for clarity on function inputs and outputs. - Simplified the conditional logic by using slice(-5) === 'Error' for a concise and clear check.
- Loading branch information
1 parent
2526505
commit d8899ba
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters