Skip to content

Commit

Permalink
Fix and test19
Browse files Browse the repository at this point in the history
  • Loading branch information
mpppk committed Jul 7, 2024
1 parent 6eec2b6 commit fe2525f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 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
@@ -1,6 +1,6 @@
{
"name": "@mpppk/typed-api-spec",
"version": "0.0.0-test18",
"version": "0.0.0-test19",
"scripts": {
"build": "tsup ./src",
"watch:build": "tsup ./src --watch",
Expand Down
2 changes: 1 addition & 1 deletion src/common/spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface ApiSpec<
Body extends object = object,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
ResBody extends Partial<Record<StatusCode, any>> = Partial<
Record<StatusCode, object>
Record<StatusCode, any>

Check failure on line 46 in src/common/spec.ts

View workflow job for this annotation

GitHub Actions / test

Unexpected any. Specify a different type

Check failure on line 46 in src/common/spec.ts

View workflow job for this annotation

GitHub Actions / test

Unexpected any. Specify a different type
>,
RequestHeaders extends Record<string, string> = Record<string, string>,
ResponseHeaders extends Record<string, string> = Record<string, string>,
Expand Down

0 comments on commit fe2525f

Please sign in to comment.