showSimplifiedLoginWidget "loginOptions" parameter is allowed to have state as a function, but the type does not allow this. I'm assuming that is due to sharing loginOptions-type with the regular Login-function, where state is only allowed to be a string.
The javadoc is "saying" that it is allowed, but the type doesn't allow it.
Can we get this fixed?
To reproduce:
Try calling the function with state as a function:
You will get
showSimplifiedLoginWidget "loginOptions" parameter is allowed to have state as a function, but the type does not allow this. I'm assuming that is due to sharing loginOptions-type with the regular Login-function, where state is only allowed to be a string. The javadoc is "saying" that it is allowed, but the type doesn't allow it.
Can we get this fixed? To reproduce: Try calling the function with state as a function: You will get