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

Remove unknown from basehandler.ts #207

Open
6 of 10 tasks
joyguptaa opened this issue Mar 18, 2024 · 0 comments
Open
6 of 10 tasks

Remove unknown from basehandler.ts #207

joyguptaa opened this issue Mar 18, 2024 · 0 comments

Comments

@joyguptaa
Copy link
Contributor

Issue Description

Currently, we do dev: data.find((item) => item.name === "dev") as unknown as DevFlag to override the type of dev. Implement this without using unknown as it is not the preferred way of doing so.

Expected Behavior

dev should auto-infer its type from its parent instead of overriding it

Current Behavior

To provide the type of dev we use as unknown as DevFlag

Screenshots

Screenshot 2024-03-18 at 10 17 33 PM

Reproducibility

  • This issue is reproducible
  • This issue is not reproducible

Steps to Reproduce

  1. Check basehandler.ts

Severity/Priority

  • Critical
  • High
  • Medium
  • Low

Additional Information

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.
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

No branches or pull requests

1 participant