spencermountain / wtf_wikipedia

a pretty-committed wikipedia markup parser
https://observablehq.com/@spencermountain/wtf_wikipedia
MIT License
779 stars 129 forks source link

Exporting types #559

Closed schizokid88 closed 1 year ago

schizokid88 commented 1 year ago

It is very hard to develop using TypeScript without types for Document, Section and other types. So i exported those types from /types/index.d.ts. Ran all tests and also tried it in my project, all seems fine.

spencermountain commented 1 year ago

Thanks Mikhail - I'll be honest, i don't understand any of this typescript stuff, or best practices for libraries. Looks good to me, but let me see if anyone has any strong objections to this, before merging it in for the next release. Cheers

spencermountain commented 1 year ago

released as 10.2.0 - thanks for the help.