This repository was archived by the owner on Jul 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
app/nodejs-v14/src/main/scala/io/scalajs/nodejs/vm Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1
1
package io .scalajs .nodejs .vm
2
2
3
+ import com .thoughtworks .enableIf
3
4
import net .exoego .scalajs .types .util .Factory
4
5
5
6
import scala .scalajs .js
@@ -75,6 +76,9 @@ trait RunInNewContextOptions extends js.Object {
75
76
var contextName : js.UndefOr [String ] = js.undefined
76
77
var contextOrigin : js.UndefOr [String ] = js.undefined
77
78
var contextCodeGeneration : js.UndefOr [CodeGeneration ] = js.undefined
79
+
80
+ @ enableIf(io.scalajs.nodejs.internal.CompilerSwitches .gteNodeJs14)
81
+ var microtaskMode : js.UndefOr [String ] = js.undefined
78
82
}
79
83
80
84
@ Factory
Original file line number Diff line number Diff line change 1
1
package io .scalajs .nodejs .vm
2
2
3
+ import com .thoughtworks .enableIf
3
4
import net .exoego .scalajs .types .util .Factory
4
5
5
6
import scala .scalajs .js
@@ -101,6 +102,9 @@ trait CreateContextOptions extends js.Object {
101
102
var name : js.UndefOr [String ] = js.undefined
102
103
var origin : js.UndefOr [String ] = js.undefined
103
104
var codeGeneration : js.UndefOr [CodeGeneration ] = js.undefined
105
+
106
+ @ enableIf(io.scalajs.nodejs.internal.CompilerSwitches .gteNodeJs14)
107
+ var microtaskMode : js.UndefOr [String ] = js.undefined
104
108
}
105
109
106
110
@ Factory
You can’t perform that action at this time.
0 commit comments