src/language-js/print/type-annotation.js/printTypeAlias
function printTypeAlias(path, options, print) {
  const semi = options.semi ? ";" : "";
  const n = path.getValue();
  const parts = [];
  if (n.declare) {
    parts.push("declare ");
  }

  const printed = printAssignmentRight(
    n.id,
    n.right,
    path.call(print, "right"),
    options
  );

  parts.push(
    "type ",
    path.call(print, "id"),
    path.call(print, "typeParameters"),
    " =",
    printed,
    semi
  );

  return group(concat(parts));
}