flagsmith-js-client
flagsmith-js-client copied to clipboard
flagsmith isomorphic module declaration
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
Thanks for raising @timhbt , we'll take a look and get back to you.
Resolved in 9.0.4