Skip to content

Commit 1d1ea4e

Browse files
Merge branch 'master' into develop
2 parents 7d805ac + d61a97a commit 1d1ea4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ When you are using arrays you must provide a type of the object that array conta
602602
This type, you specify in a `@Type()` decorator:
603603

604604
```typescript
605-
import {ArrayType} from "class-transformer";
605+
import {Type} from "class-transformer";
606606

607607
export class Photo {
608608

@@ -618,7 +618,7 @@ export class Photo {
618618
You can also use custom array types:
619619

620620
```typescript
621-
import {ArrayType} from "class-transformer";
621+
import {Type} from "class-transformer";
622622

623623
export class AlbumCollection extends Array<Album> {
624624
// custom array functions ...

0 commit comments

Comments
 (0)