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

chore: fix percy types exports for newer typescript #1301

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

Techn1x
Copy link
Contributor

@Techn1x Techn1x commented Jul 6, 2023

Fixes #1290

I have tested this via my own application, it resolves the error I was seeing detailed in the issue. I'm no expert at this but this makes sense to me.

Please let me know if there are other steps needed to have this released & published

@@ -24,7 +24,10 @@
"types": "./types/index.d.ts",
Copy link
Contributor Author

@Techn1x Techn1x Jul 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the original "types" remains here for backwards compatibility reasons with older TS / configs

@itsjwala
Copy link
Contributor

@Techn1x please make the changes in all the packages so it's uniform.

@Techn1x
Copy link
Contributor Author

Techn1x commented Jul 10, 2023

@itsjwala which package are you referring to specifically? I already applied the change to all packages in this monorepo that have types. I checked again just now in case I missed one.

That test that failed seems unrelated? Flaky?

Copy link
Contributor

@itsjwala itsjwala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Techn1x

  • Apologies I didn't see the PR fully - config and core packages only contain types so that should do
  • yup windows tests are flakey, it should be fine to merge without it being green.

thanks for your contribution 🎉

@itsjwala itsjwala added the ✨ enhancement New feature or request label Jul 11, 2023
@itsjwala itsjwala merged commit a0d4c7e into percy:master Jul 11, 2023
33 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect export of core types
2 participants