Skip to content

Commit

Permalink
chore(deps): update dependency prettier to v3.1.0
Browse files Browse the repository at this point in the history
* chore(deps): update dependency prettier to v3.1.0

* style: prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
  • Loading branch information
renovate[bot] and Create or Update Pull Request Action authored Nov 13, 2023
1 parent 27db9ae commit 4d23d53
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"glob": "^10.2.5",
"jest": "^29.0.0",
"npm-run-all": "^4.1.5",
"prettier": "3.0.3",
"prettier": "3.1.0",
"semantic-release-plugin-update-version-in-files": "^1.0.0",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0"
Expand Down
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ type KnownKeysMatching<T, V> = KeysMatching<Pick<T, KnownKeys<T>>, V>;
type GetResultsType<T> = T extends { data: any[] }
? T["data"]
: T extends { data: object }
? T["data"][KnownKeysMatching<T["data"], any[]>]
: never;
? T["data"][KnownKeysMatching<T["data"], any[]>]
: never;

type NormalizeResponse<T> = T & { data: GetResultsType<T> };

Expand Down

0 comments on commit 4d23d53

Please sign in to comment.