-
Notifications
You must be signed in to change notification settings - Fork 289
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
Compiler errors extending PuppeteerEnvironment
#546
Comments
colinrotherham
added a commit
to alphagov/govuk-frontend
that referenced
this issue
Mar 21, 2023
colinrotherham
added a commit
to alphagov/govuk-frontend
that referenced
this issue
Mar 22, 2023
colinrotherham
added a commit
to alphagov/govuk-frontend
that referenced
this issue
Mar 22, 2023
colinrotherham
added a commit
to alphagov/govuk-frontend
that referenced
this issue
Mar 22, 2023
colinrotherham
added a commit
to alphagov/govuk-frontend
that referenced
this issue
Mar 23, 2023
colinrotherham
added a commit
to alphagov/govuk-frontend
that referenced
this issue
Mar 23, 2023
colinrotherham
added a commit
to alphagov/govuk-frontend
that referenced
this issue
Mar 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 Bug Report
The class interface for
PuppeteerEnvironment
is a nameddefault
export:To Reproduce
But when importing into Node.js (without Babel or a bundler) the source now differs to the types:
Libraries like
glob
support both by addingdefault
as a propertyisaacs/node-glob@c381907
Expected behavior
Compilation should complete without error but the following is shown:
Link to repl or repo (highly encouraged)
Reproduced in example repo:
https://github.com/colinrotherham/jest-environment-puppeteeer-types
The text was updated successfully, but these errors were encountered: