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 11package io .scalajs .nodejs .vm
22
3+ import com .thoughtworks .enableIf
34import net .exoego .scalajs .types .util .Factory
45
56import scala .scalajs .js
@@ -75,6 +76,9 @@ trait RunInNewContextOptions extends js.Object {
7576 var contextName : js.UndefOr [String ] = js.undefined
7677 var contextOrigin : js.UndefOr [String ] = js.undefined
7778 var contextCodeGeneration : js.UndefOr [CodeGeneration ] = js.undefined
79+
80+ @ enableIf(io.scalajs.nodejs.internal.CompilerSwitches .gteNodeJs14)
81+ var microtaskMode : js.UndefOr [String ] = js.undefined
7882}
7983
8084@ Factory
Original file line number Diff line number Diff line change 11package io .scalajs .nodejs .vm
22
3+ import com .thoughtworks .enableIf
34import net .exoego .scalajs .types .util .Factory
45
56import scala .scalajs .js
@@ -101,6 +102,9 @@ trait CreateContextOptions extends js.Object {
101102 var name : js.UndefOr [String ] = js.undefined
102103 var origin : js.UndefOr [String ] = js.undefined
103104 var codeGeneration : js.UndefOr [CodeGeneration ] = js.undefined
105+
106+ @ enableIf(io.scalajs.nodejs.internal.CompilerSwitches .gteNodeJs14)
107+ var microtaskMode : js.UndefOr [String ] = js.undefined
104108}
105109
106110@ Factory
You can’t perform that action at this time.
0 commit comments