Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add types to package.json exports #29

Merged
merged 1 commit into from
Jun 26, 2023
Merged

Add types to package.json exports #29

merged 1 commit into from
Jun 26, 2023

Commits on Jun 26, 2023

  1. Add types to package.json exports

    Otherwise projects might complain, here's Vue:
    
    > src/App.vue:5:23 - error TS7016: Could not find a declaration file for module '@axiomhq/js'. '/Users/arne/Developer/axiomhq/axiom_ts_issue/node_modules/@axiomhq/js/dist/esm/index.js' implicitly has an 'any' type.
    >   There are types at '/Users/arne/Developer/axiomhq/axiom_ts_issue/node_modules/@axiomhq/js/dist/types/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@axiomhq/js' library may need to update its package.json or typings.
    
    See also microsoft/TypeScript#46334
    bahlo committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    dc2ff31 View commit details
    Browse the repository at this point in the history