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

refactor: refactor typescript types from build-info and related parts #6269

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

lukasholzer
Copy link
Contributor

🎉 Thanks for submitting a pull request! 🎉

Summary

This is a prerequisite before performing the actual change


For us to review and ship your PR efficiently, please perform the following steps:

  • Open a bug/issue before writing your code 🧑‍💻. This ensures we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or something that`s on fire 🔥 (e.g. incident related), you can skip this step.
  • Read the contribution guidelines 📖. This ensures your code follows our style guide and
    passes our tests.
  • Update or add tests (if any source code was changed or added) 🧪
  • Update or add documentation (if features were changed or added) 📝
  • Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

@lukasholzer lukasholzer requested a review from a team as a code owner December 20, 2023 15:02
Copy link

github-actions bot commented Dec 20, 2023

📊 Benchmark results

Comparing with 6014df5

  • Dependency count: 1,399 (no change)
  • Package size: 405 MB ⬇️ 0.00% decrease vs. 6014df5
  • Number of ts-expect-error directives: 1,231 ⬇️ 4.14% decrease vs. 6014df5

Copy link
Contributor

@Skn0tt Skn0tt left a comment

Choose a reason for hiding this comment

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

Looks great!

@@ -7,14 +7,9 @@
* Instead, we return that the feature flag is enabled if it isn't
* specifically set to false in the response
* @param {*} siteInfo
* @param {string} flagName
*
* @returns {boolean}
*/
// @ts-expect-error TS(7006) FIXME: Parameter 'flagName' implicitly has an 'any' type.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: this error message is probably not correct anymore

@lukasholzer lukasholzer enabled auto-merge (squash) December 20, 2023 15:10
@lukasholzer lukasholzer merged commit 9eb8dc0 into main Dec 20, 2023
35 checks passed
@lukasholzer lukasholzer deleted the fix/fixup-types-in-build-info branch December 20, 2023 15:22
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 this pull request may close these issues.

2 participants