Replies: 1 comment
-
I love it. It is a significant breaking change, but this is the moment for big changes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
LumberjackLevel
enum is essential to Lumberjack. Since it will affect many packages in the future, I think that now is the best time to propose to convert it from a TypeScript enum to a string literal union type.Pros
LumberjackLevel
in most use casesconst enum
conversion which can lead to issuesCons
Object.entries
,Object.keys
, orObject.values
.Breaking change
Before
Implementation
Internal usage
External usage
After
Implementation
Internal usage
External usage
Beta Was this translation helpful? Give feedback.
All reactions