Skip to content

Commit b00a01c

Browse files
committed
docs(classes): add more comments to AutoMap decorator
1 parent 75a16b4 commit b00a01c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/classes/src/lib/decorators/automap.decorator.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@ export function AutoMap(
3131
depth?: number
3232
): PropertyDecorator;
3333
/**
34-
* AutoMap decorator to decorate fields in classes to store metadata of that field
34+
* AutoMap decorator to decorate fields in classes to store metadata of that field with a config object
3535
*
3636
* @param {AutoMapOptions} config
3737
*/
3838
export function AutoMap(config: AutoMapOptions): PropertyDecorator;
39+
/**
40+
* AutoMap decorator to decorate fields in classes to store metadata.
41+
*/
3942
export function AutoMap(): PropertyDecorator;
4043
export function AutoMap(
4144
typeFnOrConfig?: AutoMapOptions | (() => Constructible),

0 commit comments

Comments
 (0)