Created
February 6, 2022 13:32
-
-
Save kagklis/f30438b3a14b6d28a6dc1c867af9fb0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TODO: Revert temporary changes (special handle of bugged type) | |
// when backend issue is resolved. | |
public onSelection(selected: SomeObjectWithType): void { | |
if (selected.type === ObjectType.TypeWithBug)) { | |
// handles buggy case separately | |
} else { | |
// original behavior | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment