They removed assert infavor of with

This commit is contained in:
Scott Gould 2024-09-19 00:24:12 -04:00
parent 13cc83ed62
commit ffef83357d
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -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",