Skip to content

Commit

Permalink
Add @type to unlocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed Nov 17, 2023
1 parent 5da1822 commit b0993e0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ class MultiUnlock extends Unlock {
/**
* The inner unlocks.
*/
@Type(() => Unlock, {
// @ts-ignore:next-line: no-use-before-declare
discriminator: UnlockDiscriminator,
})
readonly unlocks: Unlock[];

/**
Expand Down

0 comments on commit b0993e0

Please sign in to comment.