swc_ecma_utils

Function prop_name_to_expr_value

Source
pub fn prop_name_to_expr_value(p: PropName) -> Expr
Expand description

Similar to prop_name_to_expr, but used for value position.

e.g. value from { key: value }