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

fix(cli-repl): Fix depcheck with a more permissive workaround for the searchParams type #2219

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

gagik
Copy link
Contributor

@gagik gagik commented Oct 15, 2024

No description provided.

@gagik gagik marked this pull request as ready for review October 15, 2024 12:04
@gagik gagik merged commit 9f3ebe0 into main Oct 15, 2024
5 of 8 checks passed
@gagik gagik deleted the gagik/fix-depcheck-cli-repl branch October 15, 2024 12:05
const tlsCertificateKeyFilePassword = searchParams.get(
const searchMap = searchParams as Map<keyof DevtoolsConnectOptions, string>;
const tlsCertificateKeyFile = searchMap.get('tlsCertificateKeyFile');
const tlsCertificateKeyFilePassword = searchMap.get(
Copy link
Contributor

Choose a reason for hiding this comment

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

This could have used a bit more description of what it is fixing, plus maybe a TODO comment to revert it at some point (if that is possible) since we're losing type safety here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, I actually wonder if the depCheck bump would allow us to revert this now; will check

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.

3 participants