[@types/mixpanel] does not allow string types for the Mixpanel.Config.track_pageview
parameter
#69062
Unanswered
cravindra
asked this question in
Issues with a @types package
Replies: 2 comments
-
Thanks for the discussion about "mixpanel", some useful links for everyone: Pinging the DT module owners: @hjellek, @Manduro, @noamgolani. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Fixed in #69157 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to use one of the string values documented in the mixpanel docs and ran into a typescript error:
Code that caused it:
What I did:
2.14.8
but the issue persisted.master
branch and verified that they type was as I was seeing itCurrent code:
Proposed new typing based on the docs:
Happy to raise a PR if the above makes sense.
PS: The page tracking is turned off by default according to the docs so the default value also should be changed to undefined
Excerpts from the docs:
Beta Was this translation helpful? Give feedback.
All reactions