You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Reproducibility
This issue is reproducible
This issue is not reproducible
Steps to Reproduce
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.
The text was updated successfully, but these errors were encountered:
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
Reproducibility
Steps to Reproduce
basehandler.ts
Severity/Priority
Additional Information
Checklist
The text was updated successfully, but these errors were encountered: