UNPKG

decaffeinate-parser

Version:

A better AST for CoffeeScript, inspired by CoffeeScriptRedux.

10 lines (9 loc) 354 B
"use strict"; exports.__esModule = true; var mapAny_1 = require("./mapAny"); 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_1["default"](context, node.value); } exports["default"] = mapComputedPropertyName;