theBowja / genshin-db

npm package with searching functions for Genshin Impact data of all in-game languages. Data parsed/organized directly from GenshinData repo.
MIT License
371 stars 68 forks source link

Export setOptions and getOptions in index.d.ts. #144

Closed gamer-mitsuha closed 1 year ago

gamer-mitsuha commented 1 year ago

This will allow using these two functions directly in Typescript. Without these two exports, an error like Property 'setOptions' does not exist on type 'typeof import("genshin-db")'. would occur.

theBowja commented 1 year ago

Thanks! I'll include this in the next version that is coming out in the next few days.