Investigate typescript-is
cyrilletuzi opened this issue · 1 comments
cyrilletuzi commented
https://github.com/woutervh-/typescript-is
If it works, this could be a game changer for this lib.
cyrilletuzi commented
After investigation, the tool is great, but currently it needs a custom compilation step. As in our lib, the casted type comes from the user, this custom compilation should be done by the user, which is not an interesting solution right now.
It could become an option if/when there will be first-class support for this in TypeScript (see microsoft/TypeScript#14419).
Closing for now.