Should I use js or ts for a library.

Im wondering whether use of typescript is advantageous when using javascript for interfacing with the library. Does it internally benefit from typechecking or something?
Was this page helpful?