elysia 0.6.21 → 0.6.23
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/bun/index.d.ts +2 -2
- package/dist/bun/index.js +55 -49
- package/dist/bun/index.js.map +8 -6
- package/dist/cjs/index.d.ts +2 -2
- package/dist/cjs/utils.d.ts +2 -2
- package/dist/cjs/utils.js +8 -20
- package/dist/index.d.ts +2 -2
- package/dist/utils.d.ts +2 -2
- package/dist/utils.js +1 -1
- package/package.json +2 -1
package/dist/bun/index.d.ts
CHANGED
|
@@ -502,10 +502,10 @@ export default class Elysia<BasePath extends string = '', Instance extends Elysi
|
|
|
502
502
|
schema: Instance['schema'];
|
|
503
503
|
meta: Instance['meta'];
|
|
504
504
|
}>;
|
|
505
|
-
decorate<
|
|
505
|
+
decorate<Decorators extends Record<string, unknown>>(name: Decorators): Elysia<BasePath, {
|
|
506
506
|
store: Instance['store'];
|
|
507
507
|
error: Instance['error'];
|
|
508
|
-
request: Reconciliation<Instance['request'],
|
|
508
|
+
request: Reconciliation<Instance['request'], Decorators>;
|
|
509
509
|
schema: Instance['schema'];
|
|
510
510
|
meta: Instance['meta'];
|
|
511
511
|
}>;
|