Skip to content

Commit

Permalink
feat(mongoose): property definition for Trim
Browse files Browse the repository at this point in the history
  • Loading branch information
ggurkal authored and Romakita committed Feb 19, 2020
1 parent b4dc4b3 commit 2012248
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/mongoose/src/decorators/trim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {MongooseSchema} from "./schema";
* @returns {Function}
* @decorator
* @mongoose
* @property
*/
export function Trim() {
return MongooseSchema({trim: true});
Expand Down

0 comments on commit 2012248

Please sign in to comment.