src/language-js/print/assignment.js/getTypeParametersFromTypeAlias
function getTypeParametersFromTypeAlias(node) {
  if (isTypeAlias(node) && node.typeParameters && node.typeParameters.params) {
    return node.typeParameters.params;
  }
  return null;
}