RatingUnion type

Contains the possible cases for Rating.

type RatingUnion = Rating | AggregateRating