Re:A one-line package broke `npm create-react-app`
by zbentley on Saturday April 25, 2020 @03:20PM
(#22980586)
> Perhaps if TS or an extension allowed "materializing" TS, that is `value instanceof SomeInterface` generated code to check for the existence of appropriate interface members, this could be avoided
It's not perfect and a bit of a bolt-on, but io.ts works reasonably well in this area:
It's not perfect and a bit of a bolt-on, but io.ts works reasonably well in this area:
https://github.com/gcanti/io-ts