Closed vokirok closed 7 months ago
Thanks for the report! I forgot to use build:types
script. to avoid this I merged the command into the build
script
v4.3.1 should have the updated types. Feel free to reopen if the issue isn't fixed
Thanks a lot! Everything is fine now.
Describe the bug It seems to me TypeScript definitions are outdated for pinecone-route v4.3.0. You can check it here: https://codesandbox.io/p/sandbox/pinecone-router-dvlkv3?file=%2Fsrc%2Fmain.ts
To Reproduce
npm i alpinejs pinecone-router
window.PineconeRouter.settings.templateTargetId
orwindow.PineconeRouter.context
in code.npm run tsc
You will see TypeScript errors:
Also VSCode IntelliSense suggests
currentContext
andviewSelector
fields which was changed in 4.0.0