MikeHopcroft / ShortOrder

A natural language conversational agent for ordering and organizing items from a catalog.
MIT License
13 stars 7 forks source link

Expose snowball-stemmers typings correctly #32

Closed drub0y closed 6 years ago

drub0y commented 6 years ago

Needed to wrap the @types/snowball-stemmer typings in a module that aligns them with the official snowball-stemmers package name so that consuming applications that reference them align the types correctly at runtime with the actual JS module.

NOTE: right now this still requires the consuming application to use either a typeRoots or path based solution to point to the @types/snowball-stemmers typings files. Still looking for full solution to that, though the answer is probably to stop shipping the types as embedded in this package and instead as an official, @types standalone package.