We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75a16b4 commit b00a01cCopy full SHA for b00a01c
1 file changed
packages/classes/src/lib/decorators/automap.decorator.ts
@@ -31,11 +31,14 @@ export function AutoMap(
31
depth?: number
32
): PropertyDecorator;
33
/**
34
- * AutoMap decorator to decorate fields in classes to store metadata of that field
+ * AutoMap decorator to decorate fields in classes to store metadata of that field with a config object
35
*
36
* @param {AutoMapOptions} config
37
*/
38
export function AutoMap(config: AutoMapOptions): PropertyDecorator;
39
+/**
40
+ * AutoMap decorator to decorate fields in classes to store metadata.
41
+ */
42
export function AutoMap(): PropertyDecorator;
43
export function AutoMap(
44
typeFnOrConfig?: AutoMapOptions | (() => Constructible),
0 commit comments