ImportWithGlobalFallback
final case class ImportWithGlobalFallback(importSpec: Import, globalSpec: Global) extends JSNativeLoadSpec
Like Import, but with a Global fallback when linking without modules.
When linking with a module kind that supports modules, the importSpec
is used. When modules are not supported, use the fallback globalSpec
.
trait Serializable
trait Product
trait Equals
class JSNativeLoadSpec
class Object
trait Matchable
class Any