re-template-tag icon indicating copy to clipboard operation
re-template-tag copied to clipboard

Typescript definitions

Open benoitgrelard opened this issue 5 years ago • 2 comments

Hi @rauschma, stumbled upon this little module today, super useful! I was doing concatenation using template strings but was having to escape etc, your module made everything even nicer so thanks for publishing it.

I am working with TypeScript and for now have created type definitions for re-template-tag locally in my project. I'd love to contribute and make them available for whoever uses your module.

Would you rather I:

  • send a PR to this repo and have them bundled with your package?
    • pro: this is the preferred way as users are then not required to install them separately
    • con: can be sometimes a burden for the library author if they don't use TS themselves and don't want to maintain them
  • send a PR to https://github.com/DefinitelyTyped/DefinitelyTyped and add the definitions there

Let me know!

Benoît ✌️

benoitgrelard avatar May 09 '19 20:05 benoitgrelard