Registry / utility / scalajs-stubs-2-13

scalajs-stubs-2-13

JSON →
library1.1.0javamavenunverified

Stubs for Scala.js that provide type definitions for JavaScript interop, enabling Scala code to compile against JavaScript APIs.

<dependency> <groupId>org.scala-js</groupId> <artifactId>scalajs-stubs_2.13</artifactId> <version>1.1.0</version> </dependency>
INSTALL
IMPORT
SIG · SCALAJS-STUBS-2-13
S
scalajs-stubs-2-13
utilityjavav1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JSApp
scala.scalajs.js.JSApp

Define a Scala.js application entry point using JSApp.

import scala.scalajs.js.JSApp object Main extends JSApp { def main(): Unit = println("Hello from Scala.js") }
Debug
Known issues
gotchaScala.js stubs are only for compilation; runtime requires the full Scala.js library.
fix
Ensure the full Scala.js library is included as a runtime dependency.
affects: all
Upgrade
Version history
1.1.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
scalajs-stubs-2-13 — mvn dependency:get scalajs-stubs-2-13 · libregistry