They removed assert infavor of with
This commit is contained in:
@@ -18,7 +18,7 @@ interface Instance {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const app = express();
|
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>();
|
const instanceNames = new Map<string, Instance>();
|
||||||
|
|
||||||
for (const instance of instances) {
|
for (const instance of instances) {
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"target": "ES2022",
|
"target": "ESNext",
|
||||||
"useDefineForClassFields": true,
|
"useDefineForClassFields": true,
|
||||||
"resolvePackageJsonImports": true,
|
"resolvePackageJsonImports": true,
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
|
Reference in New Issue
Block a user