Argument of type '{}' is not assignable to parameter of type - Nuxt