We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HashMap<HotkeyAction, Hotkey> should be { [key in HotkeyAction]?: Hotkey } instead of { [key in HotkeyAction]: Hotkey }
HashMap<HotkeyAction, Hotkey>
{ [key in HotkeyAction]?: Hotkey }
{ [key in HotkeyAction]: Hotkey }
This is because if is an enum HotkeyAction not all of it's variants have to exist in the map.
HotkeyAction
Context: https://discord.com/channels/@me/813276814801764382/1285872494682832990
The text was updated successfully, but these errors were encountered:
No branches or pull requests
HashMap<HotkeyAction, Hotkey>
should be{ [key in HotkeyAction]?: Hotkey }
instead of{ [key in HotkeyAction]: Hotkey }
This is because if is an enum
HotkeyAction
not all of it's variants have to exist in the map.Context: https://discord.com/channels/@me/813276814801764382/1285872494682832990
The text was updated successfully, but these errors were encountered: