Skip to content

Commit

Permalink
fix: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
valverdealbo committed Feb 17, 2021
1 parent 40d1db0 commit 120c4a3
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 37 deletions.
68 changes: 34 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"@semantic-release/release-notes-generator": "^9.0.1",
"@types/jest": "^26.0.20",
"@types/lodash": "^4.14.168",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"commitizen": "^4.2.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.20.0",
Expand Down
2 changes: 1 addition & 1 deletion src/parse-result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function parseResult<T>(
return result.ops.map(op => omit(op, keys(projection)) as T);
}
if ('result' in result) {
return result.deletedCount ?? 0;
return result.deletedCount as number;
}
return result.value ?? null;
}

0 comments on commit 120c4a3

Please sign in to comment.