fix(io/buffer): super and initialized prop#1917
Conversation
kt3k
left a comment
There was a problem hiding this comment.
LGTM
I was actually seeing the same error while using dnt
|
@kitsonk I'm in favor of this change, but I'm not sure why this is ok in std and causes type error when using dnt transformation. Can this be somehow tested in std's CI? |
|
@kt3k no, because it only occurs when using |
|
Thanks for the explanation and creating the issue! Oh, that birthday cake PR! |
This gets rid of the error messages like the following when using
io/buffer.tsunder tsc directly via dnt:While this is being fixed in future version of TypeScript, it is a limitation that is easy to work around and allows people to use the
stdlib via dnt without type errors.