New Issue: I/O Module: 'readLine (type t): t' only supported for strings and bytes

19943, "ShreyasKhandekar", "I/O Module: 'readLine (type t): t' only supported for strings and bytes", "2022-06-06T15:48:22Z"

Currently we have

proc channel.readLine(type t=string, maxSize=-1, stripNewline=false): t throws where t==string || t==bytes

We might also want to add support for t being other types.