Package: node-lib0
Version: 0.2.114-1
Followup-For: Bug #1115810

This is a bug in the way types are defined:

SimpleDiff<T extends string> constrains T to string,
but simpleDiffArray tries to use SimpleDiff<T[]>
and T[] doesn't satisfy extends string.

A fix would be
SimpleDiff<T extends string | unknown[]>



Jérémy

Reply via email to