You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above would describe a function in F# that would be translated to a call myFunction from the myModule import. At the moment the above code does not compile, as the X is failing, as this Import is not treated as an inline.
Known workaround at the moment is to apply an inline as well, like this:
The Import attribute alone has previously not marked the member on its own for client-side. Now it auto-implies Stub if there is no JavaScript or Inline or Direct present.
Fixed the behavior of Stub+Import. For a class, it's valid to mark the class itself with Import, then all the members will follow existing Stub logic, while the JS class constructor is set by the Import.
Consider the following code:
The above would describe a function in F# that would be translated to a call
myFunction
from themyModule
import. At the moment the above code does not compile, as the X is failing, as this Import is not treated as an inline.Known workaround at the moment is to apply an inline as well, like this:
Ideally we don't want to rely on the
Inline
to make this work, just applying the import attribute should work.The text was updated successfully, but these errors were encountered: