hono 3.0.0-0 → 3.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/types.d.ts +4 -4
- package/package.json +1 -1
package/dist/types/types.d.ts
CHANGED
|
@@ -78,15 +78,15 @@ declare type ToAppTypeInner<R extends Route, I, O> = RemoveBlank<I> extends {
|
|
|
78
78
|
} ? R extends string ? {
|
|
79
79
|
[K in R]: I['data'];
|
|
80
80
|
} : never : never : never;
|
|
81
|
-
output: {
|
|
81
|
+
output: O extends object ? {
|
|
82
82
|
json: O;
|
|
83
|
-
};
|
|
83
|
+
} : O;
|
|
84
84
|
};
|
|
85
85
|
};
|
|
86
86
|
} : {
|
|
87
|
-
output: {
|
|
87
|
+
output: O extends object ? {
|
|
88
88
|
json: O;
|
|
89
|
-
};
|
|
89
|
+
} : O;
|
|
90
90
|
};
|
|
91
91
|
export declare type InputToData<T> = ExtractData<T> extends never ? any : UnionToIntersection<ExtractData<T>>;
|
|
92
92
|
declare type ExtractData<T> = T extends {
|