Subscribe on changes!

missing `async` keyword of object method

avatar
Oct 27th 2022

Vue version

3.2.41

Link to minimal reproduction

https://sfc.vuejs.org/#eNo9UFtugzAQvIrlryAFUH6RS1WpB+gB/OOSBRzhh7xLUIR89y5O0r+d2Z3RzO7yK8bmvoLspMIh2UgCgdYoFuOnDy0Jtey1F2KzNH/DaNaF8HSF0Xr4SSGi2o+tEGMIn51gylkEZfyjqHJ/qs7idWLw4Yfj8FS9KSY3Y0lcnjAXTaW9ap9h2IQBgYuLISiWar70+y4cTiJn1TIqrPVxJXGvXbjCwsF5X5Kr9l8tz9K6GBLVzsTmhsFz6xJEvxZctntH05LfcmAtZ6KIXdviOBy/umET0tTy1KTVk3XQALr6N4UNIbGxlqWH9lnmPzIXdg4=

Steps to reproduce

Open reproduction

What is expected?

Emit no error.

What is actually happening?

Unexpected reserved word 'await'. (12:6)

System Info

No response

Any additional comments?

I will make a PR to fix it later.