Skip to content

Commit

Permalink
feat: version 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
santi100a committed Apr 1, 2023
1 parent 1183824 commit fbb7904
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
},
"scripts": {
"dev": "tsc -w",
"build": "tsc",
"test": "jest",
"test:watch": "jest --watchAll"
},
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export function assertTypeOf(arg: any, expectedType: Type, name: string) {
* @param name The name for the expression of `arg`.
* @param choices An array containing the posible values `arg` should have in order for an error not
* to be thrown.
*/
*/
export function assertOneOf(arg: any, name: string, choices: any[]) {
if (indexOf(choices, arg) === -1)
throw new TypeError(
Expand Down

0 comments on commit fbb7904

Please sign in to comment.