This is not the most actual way of creating effect, it really does not support that yet, this is a bug. The bug was overlooked because variants with a function or with configuration are used much more often, and they indeed support handling void params:
I have this code:
and I got:
Expected 1 arguments, but got 0.
version: 21.5.0
The text was updated successfully, but these errors were encountered: