TypeScript Strictness for Array Spread into Object
So here is a gotcha I don't think I've run into before. Any settings I can change to make TS more strict about this?
const ArrayMapper = (x: Array<number>): Array<number> => ({ ...x }) //<- Not an array!!