The default is MLE. The argument opt.crit controls the optimization criterion. from the help file:
Optimization criterion. One of "mse" (Mean Square Error),
"amse" (Average MSE over first nmse forecast horizons), "sigma"
(Standard deviation of residuals), "mae" (Mean of absolute residuals),
or "lik" (Log-likelihood, the default).