Skip to content

Conversation

levrik
Copy link

@levrik levrik commented Aug 8, 2025

These were present in @types/mixpanel-browser before but got lost when inlining them. I originally introduced them in the external types through DefinitelyTyped/DefinitelyTyped#72165.

Fixes #501

These were present in `@types/mixpanel-browser` before but got lost when inlining them
@jakewski
Copy link
Contributor

Hey thanks for the contribution!

If I'm understanding correctly, the use case here is to be able to import the pre-built bundles like import mixpanel from 'mixpanel-browser/dist/mixpanel-core' and the types are not applied? Also, does this PR build the files in dist or were they manually added? Everything in dist/ is generated code so just making sure npm run build-dist doesn't override all of your changes here.

@federicobond
Copy link

If I'm understanding correctly, the use case here is to be able to import the pre-built bundles like import mixpanel from 'mixpanel-browser/dist/mixpanel-core' and the types are not applied?

This is correct. It's currently preventing me (and likely others) from updating to the latest version of the mixpanel library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

loader-module-core type error in 2.67.0
3 participants