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

Step checker util #1845

Open
tuul-wq opened this issue Jun 6, 2024 · 0 comments
Open

Step checker util #1845

tuul-wq opened this issue Jun 6, 2024 · 0 comments
Assignees
Labels
Enhancement Added to issues and PRs when improving how feature works but without significant changes Tech debt Issues & PRs bring technical improvement

Comments

@tuul-wq
Copy link
Contributor

tuul-wq commented Jun 6, 2024

To remove lots of duplication regarding step checking, we came up with a generic code:

function isStep<T>(step: T, targetStep: T): boolean {
  return step === targetStep;
}
@tuul-wq tuul-wq added Tech debt Issues & PRs bring technical improvement Enhancement Added to issues and PRs when improving how feature works but without significant changes labels Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Added to issues and PRs when improving how feature works but without significant changes Tech debt Issues & PRs bring technical improvement
Projects
Status: Todo
Development

No branches or pull requests

2 participants