They removed assert infavor of with
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user