Hey all!
It would be really convenient to have method isTypeAssignableTo from Relater (internal/checker/relater.go) provided in public api (js and possibly others?).
In current ts implementation (5.9) this method is internal, and some libraries using package @types/ts-expose-internals to use this method.
It can be used to implement a lot of different things at compile time, and I hope it's not a lot of work to expose and describe it.
Thanks!
Hey all!
It would be really convenient to have method
isTypeAssignableTofromRelater(internal/checker/relater.go) provided in public api (js and possibly others?).In current ts implementation (5.9) this method is internal, and some libraries using package
@types/ts-expose-internalsto use this method.It can be used to implement a lot of different things at compile time, and I hope it's not a lot of work to expose and describe it.
Thanks!