kirbysayshi / vash

Vash, the 60 billion double-dollar template-maker. Razor syntax, for JavaScript templates
Other
524 stars 60 forks source link

Add TypeScript definitions #139

Open mixaildudin opened 2 years ago

mixaildudin commented 2 years ago

With noImplicitAny compiler option enabled I had to import vash as the following:

const vash = require('vash');

instead of using normal imports.

And of course, no type checking or autocomplete available 😢