auto-commit-msg icon indicating copy to clipboard operation
auto-commit-msg copied to clipboard

Refactor enum

Open MichaelCurrin opened this issue 5 years ago • 1 comments

See if enum can be cleaned up

Reverse keys and values?

Change lookup with function or alternate use that is safer than any.

What is proper way to handle undefined, maybe just with if an error?

MichaelCurrin avatar Aug 16 '20 09:08 MichaelCurrin

Maybe the function to get returns value | undefined

MichaelCurrin avatar Aug 16 '20 10:08 MichaelCurrin