@xaendar/types 1.0.7 → 1.1.0
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/xaendar-types.d.ts +1 -1
- package/package.json +1 -1
package/dist/xaendar-types.d.ts
CHANGED
|
@@ -156,7 +156,7 @@ export declare type Dictionary<Key extends string | number | symbol, Value = str
|
|
|
156
156
|
* @template ReturnType - The type the initializer transforms the value into. Defaults to `Field`.
|
|
157
157
|
* @template Metadata - The shape of the metadata of the class (see {@link DecoratorMetadataContext}).
|
|
158
158
|
*/
|
|
159
|
-
export declare type FieldDecorator<Class extends
|
|
159
|
+
export declare type FieldDecorator<Class extends Object, Field, ReturnType = Field, Metadata extends object = DecoratorMetadataObject> = (field: undefined, context: DecoratorMetadataContext<ClassFieldDecoratorContext<Class, Field>, Metadata>) => ((value: Field) => ReturnType) | void;
|
|
160
160
|
|
|
161
161
|
/**
|
|
162
162
|
* A function type that can accept any number of arguments and return any type.
|