Skip to content

Commit fe2525f

Browse files
committed
Fix and test19
1 parent 6eec2b6 commit fe2525f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mpppk/typed-api-spec",
3-
"version": "0.0.0-test18",
3+
"version": "0.0.0-test19",
44
"scripts": {
55
"build": "tsup ./src",
66
"watch:build": "tsup ./src --watch",

src/common/spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface ApiSpec<
4343
Body extends object = object,
4444
// eslint-disable-next-line @typescript-eslint/no-explicit-any
4545
ResBody extends Partial<Record<StatusCode, any>> = Partial<
46-
Record<StatusCode, object>
46+
Record<StatusCode, any>
4747
>,
4848
RequestHeaders extends Record<string, string> = Record<string, string>,
4949
ResponseHeaders extends Record<string, string> = Record<string, string>,

0 commit comments

Comments
 (0)