Open unoscar opened 1 year ago
Interesting, as I've not seen that before.
How are you importing getFlags
in your code? Could you copy the import line here?
Are you maybe importing from @happykit/flags/dist/server
instead of @happykit/flags/server
?
hi im having this problem as well i think an export on line 18 does the trick.
@karmatradeDev Could you show the source code of the file where you are seeing this error?
Hi there, I am using the flags implementation into a next.js project with TS, when creating the getFlags function I get the following error:
I believe this can get fixed by just exporting the
FactoryGetFlagsOptions
interface.I'll be creating a fork with the fix and a PR, but in case it help to have the issue recorded here. Cheers