- SortByDefault(order?: "ascending" | "descending"): { (target: Function): void; (target: Object, propertyKey: string | symbol): void }
-
Parameters
-
order: "ascending" | "descending" = 'ascending'
Returns { (target: Function): void; (target: Object, propertyKey: string | symbol): void }
-
- (target: Function): void
-
Returns void
- (target: Object, propertyKey: string | symbol): void
-
Parameters
-
target: Object
-
propertyKey: string | symbol
Returns void