From 17901002b3bd317b4c47a0da7f6e4ea2699732f1 Mon Sep 17 00:00:00 2001 From: Alejandro Dini <4999277+alete89@users.noreply.github.com> Date: Mon, 16 Sep 2024 16:08:00 -0300 Subject: [PATCH] fix: @Type decorator README.md it says `implicitly` where it should say `explicitly` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index da6209f20..98ac60b0e 100644 --- a/README.md +++ b/README.md @@ -344,7 +344,7 @@ console.log(plainToInstance(User, fromPlainUser, { excludeExtraneousValues: true When you are trying to transform objects that have nested objects, it's required to known what type of object you are trying to transform. Since Typescript does not have good reflection abilities yet, -we should implicitly specify what type of object each property contain. +we should explicitly specify what type of object each property contain. This is done using `@Type` decorator. Lets say we have an album with photos.