@elysiajs/eden 1.4.7 → 1.4.8
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/treaty2/index.d.ts +1 -1
- package/dist/treaty2.d.mts +1 -1
- package/dist/treaty2.d.ts +1 -1
- package/package.json +1 -1
package/dist/treaty2/index.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import type { Treaty } from './types';
|
|
|
3
3
|
export declare function streamResponse(response: Response, options?: {
|
|
4
4
|
parseDate?: boolean;
|
|
5
5
|
}): AsyncGenerator<Record<string, unknown>, void, any>;
|
|
6
|
-
export declare const treaty: <const App extends Elysia<any, any, any, any, any, any, any>,
|
|
6
|
+
export declare const treaty: <const App extends Elysia<any, any, any, any, any, any, any>, Head extends {} = {}>(domain: string | App, config?: Treaty.Config<Head>) => Treaty.Create<App, Head>;
|
|
7
7
|
export type { Treaty };
|
package/dist/treaty2.d.mts
CHANGED
|
@@ -113,6 +113,6 @@ declare namespace Treaty {
|
|
|
113
113
|
declare function streamResponse(response: Response, options?: {
|
|
114
114
|
parseDate?: boolean;
|
|
115
115
|
}): AsyncGenerator<Record<string, unknown>, void, any>;
|
|
116
|
-
declare const treaty: <const App extends Elysia<any, any, any, any, any, any, any>,
|
|
116
|
+
declare const treaty: <const App extends Elysia<any, any, any, any, any, any, any>, Head extends {} = {}>(domain: string | App, config?: Treaty.Config<Head>) => Treaty.Create<App, Head>;
|
|
117
117
|
|
|
118
118
|
export { Treaty, streamResponse, treaty };
|
package/dist/treaty2.d.ts
CHANGED
|
@@ -113,6 +113,6 @@ declare namespace Treaty {
|
|
|
113
113
|
declare function streamResponse(response: Response, options?: {
|
|
114
114
|
parseDate?: boolean;
|
|
115
115
|
}): AsyncGenerator<Record<string, unknown>, void, any>;
|
|
116
|
-
declare const treaty: <const App extends Elysia<any, any, any, any, any, any, any>,
|
|
116
|
+
declare const treaty: <const App extends Elysia<any, any, any, any, any, any, any>, Head extends {} = {}>(domain: string | App, config?: Treaty.Config<Head>) => Treaty.Create<App, Head>;
|
|
117
117
|
|
|
118
118
|
export { Treaty, streamResponse, treaty };
|