Worked ok in 4.x, doesn't work in 6.x TS 3.7.4 ```ts class X { fn(): void {} } function test<C extends X>(c: C) { const cc = c as O.Writable<C> cc.fn() // this expression is not callable } ```
Activity
millsp commentedon Dec 31, 2019
Hi @xaviergonz, thanks for reporting his. I'm going to push a fix soon.
fix: types altering expressions #84
millsp commentedon Dec 31, 2019
Hold on, it's out in a few minutes! https://travis-ci.org/pirix-gh/ts-toolbelt/builds/631255536?utm_source=github_status&utm_medium=notification
Cheers
xaviergonz commentedon Dec 31, 2019
That was fast, thanks!
millsp commentedon Dec 31, 2019
Like Speedy Gonzales 🐭💨