-
Notifications
You must be signed in to change notification settings - Fork 288
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 importing JestPuppeteerConfig
interface
#545
Comments
Also looks like puppeteer |
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
Hi @colinrotherham, sorry for the silence. I will give a look tomorrow and try to fix it! Thanks for the repro and all the details! |
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
I'm seeing TypeScript issues for properties not existing on
JestPuppeteerConfig
To Reproduce
The issue can be seen when importing
JestPuppeteerConfig
into TypeScript:For JavaScript, follow the Synchronous configuration README example but enable tsconfig.json
checkJs: true
/** @type {import('jest-environment-puppeteer').JestPuppeteerConfig} */
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
These types have
// @ts-ignore
so perhaps this is a known issue in jest-environment-puppeteer/src/env.ts?The text was updated successfully, but these errors were encountered: