Thanks for writing this! I'm new to Typescript and this post made my day a lot easier.

I have one beginner question: should we test our Typescript code with Javascript or Typescript? I was thinking in the context of a library: Typescript users of a library written in Typescript will have an extra security provided by the Typescript compiler, but Javascript users don't have this security, and Javascript code can pass anything to the library functions.

Am I worrying so much, or this is something that we should think when writing Typescript libraries?

    João Vitor Retamero

    Written by