I used to be able to use the table function on stderr by constructing a new console object (new Console(process.stderr)) and then using .table() on that.
However, after updating my types, this fails, because the constructor expects NodeJS.WritableStream and process.stderr is of type NodeJS.WriteStream & { fd: 2; }. these are apparently incompatible because the latter is missing 8 properties. I'm not sure if the types are broken, or if something changed. I can't find anything about this online.
(I'd also be happy with an alternative method that doesn't involve creating a new console object, but that wouldn't really be related to TypeScript anymore.)