Skip to content

Commit

Permalink
fix: allow subTypes.name to be a number in DiscriminatorDescriptor (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
nesro authored May 4, 2024
1 parent fb78643 commit c7c4477
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export interface DiscriminatorDescriptor {
/**
* Name of the type.
*/
name: string;
name: string | number;

/**
* A class constructor which can be used to create the object.
Expand Down

0 comments on commit c7c4477

Please sign in to comment.