You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following compile error occurs when running or building my React app with plausible-tracker installed :
ERROR in node_modules/plausible-tracker/src/lib/tracker.ts:7:5
TS2717: Subsequent property declarations must have the same type. Property 'plausible' must be of type 'TrackEvent', but here has type 'TrackEvent'.
tsconfig.json "skipLibCheck": true does not work for this because it is in a .ts file rather than a .d.ts file. I have not been able to find any work-around.
Expected behavior
Able to build
Steps to reproduce
Steps:
Add this package to a typescript based React app
yarn run (or build)
...
Your Environment
React: ^18.2.0
Typescript: ^4.4.2
Device: Any browser
OS: MacOs
Browser: Doesn't matter
Version: N/A
Additional context
The text was updated successfully, but these errors were encountered:
Versions
Describe the bug
The following compile error occurs when running or building my React app with plausible-tracker installed :
ERROR in node_modules/plausible-tracker/src/lib/tracker.ts:7:5
TS2717: Subsequent property declarations must have the same type. Property 'plausible' must be of type 'TrackEvent', but here has type 'TrackEvent'.
tsconfig.json "skipLibCheck": true does not work for this because it is in a .ts file rather than a .d.ts file. I have not been able to find any work-around.
Expected behavior
Able to build
Steps to reproduce
Steps:
Your Environment
Additional context
The text was updated successfully, but these errors were encountered: