function nextTick() {
  if (VUE_VERSION > 2) { return Vue__default['default'].nextTick() }
  return new Promise(function (resolve) {
    Vue__default['default'].nextTick(resolve);
  })
}
Normalize nextTick to return a promise for all Vue 2 versions.
Vue < 2.1 does not return a Promise from nextTick
@return {Promise<R>}