Skip to content

Commit befb4d1

Browse files
šŸ› Fix(oh-my-error): misspell at tag in TSDocs at myErrorWrapper @params=>@param #1
1 parent 0de0443 commit befb4d1

File tree

5 files changed

+16
-3
lines changed

5 files changed

+16
-3
lines changed

ā€Žpackages/oh-my-error/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# oh-my-error
22

3+
## 2.0.2
4+
5+
### Patch Changes
6+
7+
- Wrong TSDocs tag at `myErrorWrapper` function. `@params` => `@param`
8+
39
## 2.0.1
410

511
### Patch Changes

ā€Žpackages/oh-my-error/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@packages/oh-my-error",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "A simple error handler for nodejs",
55
"type": "module",
66
"license": "MIT",

ā€Žpackages/oh-my-error/src/functions/myErrorWrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type MyErrorWrapperReturn<Fn extends AnyFunction, ErrorType = undefined> = Error
2020
/**
2121
* TryCatch One line wrapper.
2222
*
23-
* @params errorToThrow - If `fnThatMayThrow` throw error, this will be instant throwed.
23+
* @param errorToThrow - If `fnThatMayThrow` throw error, this will be instant throwed.
2424
* - if `errorToThrow` is Function (cb), it pass as argument error catched by function else return element.
2525
* - typeof errorToThrow === "function" ? errorToThrow(error) : errorToThrow
2626
* @returns Tuple `[data,isError]`, with `errorToThrow` just `data`.

ā€Žtutorials/EveryThingAbout/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @tutorial/alex-story
22

3+
## 1.0.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @packages/oh-my-error@2.0.2
9+
310
## 1.0.1
411

512
### Patch Changes

ā€Žtutorials/EveryThingAbout/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tutorial/everythingabout",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "",
55
"private": true,
66
"scripts": {

0 commit comments

Comments
Ā (0)