4 ms·
This is always the issue. It’s why Python and JavaScript are so terrible, and the cause of so many bugs, yet so readily available in apis and cicd pipelines. W
by moi2388 2y ago
This is always the issue. It’s why Python and JavaScript are so terrible, and the cause of so many bugs, yet so readily available in apis and cicd pipelines.
Why people insist on keep using strings instead of typesafe variants is beyond me
- ficklepickle 2y agoTypeScript is nice here because you can specify the specific strings you accept in a union. Eg. `unit: 'AC'|'DC'`