They removed assert infavor of with
This commit is contained in:
parent
13cc83ed62
commit
ffef83357d
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ interface Instance {
|
|||
}
|
||||
|
||||
const app = express();
|
||||
import instances from "./webpage/instances.json" assert { type: "json" };
|
||||
import instances from "./webpage/instances.json" with { type: "json" };
|
||||
const instanceNames = new Map<string, Instance>();
|
||||
|
||||
for (const instance of instances) {
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
"resolveJsonModule": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"target": "ES2022",
|
||||
"target": "ESNext",
|
||||
"useDefineForClassFields": true,
|
||||
"resolvePackageJsonImports": true,
|
||||
"outDir": "./dist",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue