Iceshrimp.NET
Instance
Federation
Register
Login
Iceshrimp.NET
Instance
Federation
Register
Login
Iceshrimp.NET
Instance
Federation
Register
Login
Volpeon
@volpeon
@icy.wyvern.rip
9mo
const o = { ... value: 8 // Enum.Thing (which is = 8) }
Yes good, this is how you use enums. You add the magic literal value and put the enum entry in a comment.