Tools for Asserting Compile Errors in TypeScript
Hey guys!
Is there are any tools for asserting compile-errors?
I design some library, so I'd like to make sure that not only happy-path type restrictions are correct, but I also want to make sure that incorrect (from DSL perspective) code will cause compilation error.
Is there are any tools for asserting compile-errors?
I design some library, so I'd like to make sure that not only happy-path type restrictions are correct, but I also want to make sure that incorrect (from DSL perspective) code will cause compilation error.
