// enum emits runtime code and does not narrow. tsus fix --unsafe rewrites it// to a union of literals and inlines Color.Red as "red".enum Color { Red = "red", Green = "green",}const paint = (c: Color): string => `painted ${c}`;console.log(paint(Color.Red));