You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #155, we abandoned TS enums because their values are hard to debug. microsoft/TypeScript#15486 adds support for string values in enums. When TS2.4 ships, we should port all constant dicts to enums:
enumAxis={X='x',Y='y',BOTH='both',}
This also requires going through all places those constants are used and fixing the type, e.g.
In #155, we abandoned TS enums because their values are hard to debug. microsoft/TypeScript#15486 adds support for string values in enums. When TS2.4 ships, we should port all constant dicts to enums:
This also requires going through all places those constants are used and fixing the type, e.g.
The text was updated successfully, but these errors were encountered: