Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit f724beb

Browse files
author
exoego
committed
fix: Error is defined in global scope
1 parent 21dbf86 commit f724beb

File tree

1 file changed

+1
-1
lines changed
  • app/current/src/main/scala/io/scalajs/nodejs

1 file changed

+1
-1
lines changed

app/current/src/main/scala/io/scalajs/nodejs/Error.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import scala.scalajs.js.annotation.{JSGlobal, JSImport}
1212
* Error.stackTraceLimit, whichever is smaller.
1313
*/
1414
@js.native
15-
@JSImport("errors", "Error")
15+
@JSGlobal
1616
class Error(message0: String = js.native) extends js.Object {
1717

1818
/**

0 commit comments

Comments
 (0)