@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
|
|
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
|
|
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
|
@@ -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
|
|
26
|
+
) => <T>(
|
|
27
27
|
target: T,
|
|
28
28
|
context: ClassDecoratorContext | ClassMethodDecoratorContext,
|
|
29
29
|
) => T) & {
|