Skip to content

Commit

Permalink
Add node16 to jsconfig, swap from node12 to node16 in tsconfig. (#2216)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRosenwasser authored Apr 29, 2022
1 parent 31c11f6 commit d118703
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions src/schemas/json/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
"ESNext",
"None",
"es2022",
"node12",
"node16",
"nodenext"
]
},
Expand All @@ -308,10 +308,15 @@
"type": "string",
"anyOf": [
{
"enum": ["Classic", "Node"]
"enum": [
"Classic",
"Node",
"Node16",
"NodeNext"
]
},
{
"pattern": "^(([Nn]ode)|([Cc]lassic))$"
"pattern": "^(([Nn]ode)|([Nn]ode12)|([Nn]ode[Nn]ext)|([Cc]lassic))$"
}
],
"default": "classic",
Expand Down
4 changes: 2 additions & 2 deletions src/schemas/json/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
"ESNext",
"None",
"ES2022",
"Node12",
"Node16",
"NodeNext"
]
},
Expand All @@ -320,7 +320,7 @@
"enum": [
"Classic",
"Node",
"Node12",
"Node16",
"NodeNext"
]
},
Expand Down

0 comments on commit d118703

Please sign in to comment.