Skip to content

Commit 9696d90

Browse files
style: format README with prettier
1 parent 4741231 commit 9696d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ let album = plainToClass(Album, albumJson);
374374
### Providing more than one type option[](#table-of-contents)
375375

376376
In case the nested object can be of different types, you can provide an additional options object,
377-
that specifies a discriminator. The discriminator option must define a `property` that holds the subtype
377+
that specifies a discriminator. The discriminator option must define a `property` that holds the subtype
378378
name for the object and the possible `subTypes` that the nested object can converted to. A sub type
379379
has a `value`, that holds the constructor of the Type and the `name`, that can match with the `property`
380380
of the discriminator.

0 commit comments

Comments
 (0)