I believe there are two mistypes:
T[]
T | null
value
I agree with the changes, could you open a quick PR for this?