We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4741231 commit 9696d90Copy full SHA for 9696d90
README.md
@@ -374,7 +374,7 @@ let album = plainToClass(Album, albumJson);
374
### Providing more than one type option[⬆](#table-of-contents)
375
376
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
+that specifies a discriminator. The discriminator option must define a `property` that holds the subtype
378
name for the object and the possible `subTypes` that the nested object can converted to. A sub type
379
has a `value`, that holds the constructor of the Type and the `name`, that can match with the `property`
380
of the discriminator.
0 commit comments