developit / snarkdown

:smirk_cat: A snarky 1kb Markdown parser written in JavaScript
http://jsfiddle.net/developit/828w6t1x/
MIT License
2.28k stars 110 forks source link

Type declarations missing in npm package #89

Closed florianmrz closed 4 years ago

florianmrz commented 4 years ago

When installing from npm (Version 1.2.2), I end up without the type declarations. See https://unpkg.com/browse/snarkdown@1.2.2/ for a list of files in the package.

Are these being omitted when publishing to npm? Is the version on npm simply outdated?

jonathonherbert commented 4 years ago

I'm also having the same issue.

Edit: it looks like the type definitions (#73) were merged after the latest release, as mentioned in a thread comment in that PR. All that is required is a new release.

That'd be really handy, this is a lovely nugget of a library and it's a shame to have to manually add types 😄

developit commented 4 years ago

Fixed in #86. Sorry about that!