--- source: crates/biome_js_transform/tests/spec_tests.rs expression: index.ts --- # Input ```ts enum StatusA { Enabled, Disabled } enum StatusB { Enabled = "Enabled", Disabled = "Disabled" } ``` # Transformations ```ts var StatusA; (function (StatusA) { StatusA[(StatusA["Enabled"] = 0)] = "Enabled"; StatusA[(StatusA["Disabled"] = 1)] = "Disabled"; })(StatusA || (StatusA = {})); ``` ```ts var StatusB; (function (StatusB) { StatusB[(StatusB["Enabled"] = "Enabled")] = "Enabled"; StatusB[(StatusB["Disabled"] = "Disabled")] = "Disabled"; })(StatusB || (StatusB = {})); ```