FeedbackRating with the idx removed — the memory supplies its own.
idx is typed never rather than merely omitted, so passing a
FeedbackRating-typed variable (as opposed to an object literal) is also
rejected, instead of silently discarding its idx for the memory's own.
Type Declaration
Optionalidx?: never
Never present — a memory's own idx cannot be overridden by the caller.
What Memory.feedback takes.
FeedbackRating with the idx removed — the memory supplies its own.
idxis typedneverrather than merely omitted, so passing aFeedbackRating-typed variable (as opposed to an object literal) is also rejected, instead of silently discarding its idx for the memory's own.