Skip to content

Conversation

@Roman991
Copy link
Contributor

Idk how to differentiate the two types of searchCatalogItems (2020 and 2022)
btw this is the 2022 version

Copy link
Owner

@jrl84 jrl84 left a comment

Choose a reason for hiding this comment

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

@Roman991 Thanks for the PR. However I would like to request you to refactor it to not use enums.
We are already refactoring to remove enums, please see this conversation and this PR and this additional info.

@Roman991
Copy link
Contributor Author

@Roman991 Thanks for the PR. However I would like to request you to refactor it to not use enums. We are already refactoring to remove enums, please see this conversation and this PR and this additional info.

considering that we are inside the typings folder idk if its better to use type (erasable at runtime) or const assertions.
For simplicity i refactored enums to types

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