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

Types not compatible with TS4.7 Node ESM support #6

Closed
PaperStrike opened this issue Jun 4, 2022 · 0 comments · Fixed by #7
Closed

Types not compatible with TS4.7 Node ESM support #6

PaperStrike opened this issue Jun 4, 2022 · 0 comments · Fixed by #7

Comments

@PaperStrike
Copy link
Contributor

TypeScript 4.7 Node16 / NodeNext module resolution reports Could not find a declaration file for module 'mrmime' on

import * as mime from 'mrmime';

It looks similar to microsoft/playwright#14348, the solution is to export types explicitly like microsoft/playwright#14428.

Thank you.

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 a pull request may close this issue.

1 participant