Open SamKomesarook opened 10 months ago
Can't say for sure. Quick glance at the code shows this as the type correctly but it could be something else going on?
While it is possible to get the payloads from the posthog react hooks, it would be great if the provider code could be fixed.
When using the sample PostHogFeature provider code in a NextJS project with TS, the following err appears:
Type '(payload: any) => Element' is not assignable to type 'string'.
Is there an issue with the provider code?