val LoginContext = createContext<LoginContextData>()
I get the following error
When accessing module declarations from UMD, they must be marked by both @JsModule and @JsNonModule
What's wrong?
b
Björn Mayer
05/13/2020, 8:51 AM
kotlin react wrappers uses
commonJs
for module types (I am not a js expert so sorry for wrong wording).
Your project is probably using a different one.
I solved the issue in my project by setting the module type to