You may want to look at tsplus, so you can combine the best of both worlds:
also
install with github.com/ts-plus/installer sample impl at github.com/ts-plus/stdlib/blob/mai... usage example: github.com/ts-plus/stdlib/blob/mai...
You can basically make your library tsplus "compatible" or let's say - easily consumable, without taking a hard dependency. Because it's basically JSDoc annotations.
Oh there's a post by the man himself now :) dev.to/matechs/the-case-for-ts-18b3
(seeing your scala/fp interest, you may also follow down the rabbit-hole into Effect-TS, where the next branch will be fully ts-plus powered ;-)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You may want to look at tsplus, so you can combine the best of both worlds:
also
install with github.com/ts-plus/installer
sample impl at github.com/ts-plus/stdlib/blob/mai...
usage example: github.com/ts-plus/stdlib/blob/mai...
You can basically make your library tsplus "compatible" or let's say - easily consumable, without taking a hard dependency. Because it's basically JSDoc annotations.
Oh there's a post by the man himself now :) dev.to/matechs/the-case-for-ts-18b3
(seeing your scala/fp interest, you may also follow down the rabbit-hole into Effect-TS, where the next branch will be fully ts-plus powered ;-)