@navios/core 0.1.10 → 0.1.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.
@@ -89,7 +89,7 @@ declare type ClassAttribute = (() => <T>(target: T, context: ClassDecoratorConte
89
89
  export { ClassAttribute }
90
90
  export { ClassAttribute as ClassAttribute_alias_1 }
91
91
 
92
- declare type ClassSchemaAttribute<T extends ZodType> = ((value: z.input<T>) => <T extends ClassType>(target: T, context: ClassDecoratorContext | ClassMethodDecoratorContext) => T) & {
92
+ declare type ClassSchemaAttribute<T extends ZodType> = ((value: z.input<T>) => <T>(target: T, context: ClassDecoratorContext | ClassMethodDecoratorContext) => T) & {
93
93
  token: symbol;
94
94
  schema: ZodType;
95
95
  };
@@ -89,7 +89,7 @@ declare type ClassAttribute = (() => <T>(target: T, context: ClassDecoratorConte
89
89
  export { ClassAttribute }
90
90
  export { ClassAttribute as ClassAttribute_alias_1 }
91
91
 
92
- declare type ClassSchemaAttribute<T extends ZodType> = ((value: z.input<T>) => <T extends ClassType>(target: T, context: ClassDecoratorContext | ClassMethodDecoratorContext) => T) & {
92
+ declare type ClassSchemaAttribute<T extends ZodType> = ((value: z.input<T>) => <T>(target: T, context: ClassDecoratorContext | ClassMethodDecoratorContext) => T) & {
93
93
  token: symbol;
94
94
  schema: ZodType;
95
95
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navios/core",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "author": {
5
5
  "name": "Oleksandr Hanzha",
6
6
  "email": "alex@granted.name"
@@ -23,7 +23,7 @@ export type ClassAttribute = (() => <T>(
23
23
  }
24
24
  export type ClassSchemaAttribute<T extends ZodType> = ((
25
25
  value: z.input<T>,
26
- ) => <T extends ClassType>(
26
+ ) => <T>(
27
27
  target: T,
28
28
  context: ClassDecoratorContext | ClassMethodDecoratorContext,
29
29
  ) => T) & {