Skip to content

Commit 9f20013

Browse files
author
Geoffroy Empain
committed
Clarify docs to avoid future confusions (#63).
1 parent b41faec commit 9f20013

File tree

4 files changed

+5
-28
lines changed

4 files changed

+5
-28
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ indent_style = space
77
indent_size = 4
88
insert_final_newline = true
99
trim_trailing_whitespace = true
10+
11+
[*.json]
12+
indent_size = 2

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ export class Photo {
581581

582582
id: number;
583583

584+
@Type(() => Date)
584585
@Transform(value => moment(value), { toClassOnly: true })
585586
date: Moment;
586587
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
],
2727
"dependencies": {},
2828
"devDependencies": {
29+
"@types/moment": "^2.13.0",
2930
"@types/chai": "^3.4.34",
3031
"@types/es6-shim": "^0.31.32",
3132
"@types/mocha": "^2.2.33",

test/functional/prototype-problem.ts

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)