flagsmith
flagsmith copied to clipboard
flagsmith isomorphic module declaration
How are you running Flagsmith
- [ ] Self Hosted with Docker
- [ ] Self Hosted with Kubernetes
- [x] SaaS at flagsmith.com
- [ ] Some other way (add details in description below)
Describe the bug
[email protected] (latest version).
A typescript error is displayed after importing flagsmith/isomorphic:
Could not find a declaration file for module 'flagsmith/isomorphic'. '/home/xxx/node_modules/flagsmith/isomorphic.mjs' implicitly has an 'any' type.
If the 'flagsmith' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module 'flagsmith/isomorphic';`
Steps To Reproduce
Follow the instructions at https://docs.flagsmith.com/clients/next-ssr
Expected behavior
declared module flagsmith/isomorphic
Screenshots
No response
same here
This repository is for the main Flagsmith application - please open an issue in https://github.com/Flagsmith/flagsmith-js-client instead. Thanks!