All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.scalajs.js.import.scala Maven / Gradle / Ivy

/*
 * Scala.js (https://www.scala-js.org/)
 *
 * Copyright EPFL.
 *
 * Licensed under Apache License 2.0
 * (https://www.apache.org/licenses/LICENSE-2.0).
 *
 * See the NOTICE file distributed with this work for
 * additional information regarding copyright ownership.
 */

package scala.scalajs.js

import scala.scalajs.js

/** ECMAScript 2020
 *  Dynamic `import(specifier)` and meta-property `import.meta`.
 */
object `import` { // scalastyle:ignore
  /** ECMAScript 2020
   *  Dynamic `import(specifier)`.
   */
  def apply[A <: js.Any](specifier: String): js.Promise[A] =
    throw new java.lang.Error("stub")

  /** ECMAScript 2020
   *  Meta-property `import.meta`.
   */
  def meta: js.Dynamic =
    throw new java.lang.Error("stub")
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy