Since 3.8.4 this got broken, it used to work in 3.8.3
class Foo {
readonly s: string = "hi"
}
function someFn<F extends Foo>(foo2: F) {
const wfoo = foo2 as O.Writable<F> // here it complains this is invalid
wfoo.s = "ho" // here it complains s is not there
}
Hey @xaviergonz, thanks for reporting this issue. It's fixed. Sorry for the inconvenience!
Thanks to you! Great project you got here :)
Thanks!
Most helpful comment
Thanks to you! Great project you got here :)