UNPKG

decaffeinate-parser

Version:

A better AST for CoffeeScript, inspired by CoffeeScriptRedux.

7 lines (6 loc) 264 B
import mapAny from './mapAny'; export default function mapComputedPropertyName(context, node) { // ComputedPropertyName is the only Literal where the value isn't a primitive, so just // fake the type here for now. return mapAny(context, node.value); }