You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👋 This is something I'll look at publishing soon. Ideally I want to publish the JS itself as a package (and thus the types), I have just been waiting for some sense of stability in the JS<>Wasm communication, to make the versioning slightly more lenient.
Some of the unreleased work on main does tidy up this communication, so I could probably look at releasing the JS package with the next Pagefind version.
It also seems like currently, the functions in public_search_api.ts are not included in types/index.d.ts (or indeed, any type definitions).
Correct — those definition files aren't for publishing, they're for the TS itself to use, so the package will be published with generated types from the TS files
I would like to use types from https://github.com/CloudCannon/pagefind/blob/main/pagefind_web_js/types/index.d.ts but
@pagefind/js
isn't published. Any solutions without copy pasting these types? Thank you!The text was updated successfully, but these errors were encountered: