elysia 0.6.10 → 0.6.11

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.
@@ -96,9 +96,7 @@ export default class Elysia<BasePath extends string = '', Instance extends Elysi
96
96
  request: Instance['request'];
97
97
  schema: Instance['schema'];
98
98
  store: Instance['store'];
99
- meta: Instance['meta'] & (Omit<NewInstance['meta'], 'schema'> & Record<'schema', {
100
- [key in keyof NewInstance['meta']['schema'] as key extends `${infer Rest}` ? `${Prefix}${Rest}` : key]: NewInstance['meta']['schema'][key];
101
- }>);
99
+ meta: Instance['meta'] & NewInstance['meta'];
102
100
  }> : this;
103
101
  group<Schema extends TypedSchema<Exclude<keyof Instance['meta']['defs'], number | symbol>>, NewElysia extends Elysia<any, any> = Elysia<any, any>, Prefix extends string = string>(prefix: Prefix, schema: LocalHook<Schema, Instance, `${BasePath}${Prefix}`>, run: (group: Elysia<`${BasePath}${Prefix}`, {
104
102
  error: Instance['error'];